RankingStrategy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum RankingStrategy
type RankingStrategy =
- Inheritance
-
RankingStrategy
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | No Ranking, results are returned in arbitrary order. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| DocumentScore | 1 | Ranked by app-provided document scores. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| CreationTimestamp | 2 | Ranked by document creation timestamps. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| RelevanceScore | 3 | Ranked by document relevance score. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UsageCount | 4 | Ranked by number of usages, as reported by the app. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UsageLastUsedTimestamp | 5 | Ranked by timestamp of last usage, as reported by the app. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SystemUsageCount | 6 | Ranked by number of usages from a system UI surface. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SystemUsageLastUsedTimestamp | 7 | Ranked by timestamp of last usage from a system UI surface. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| JoinAggregateScore | 8 | Ranked by the aggregated ranking signal of the joined documents. Which aggregation strategy is used to determine a ranking signal is specified in the JoinSpec set by Builder.setJoinSpec. This ranking strategy may not be used if no JoinSpec is provided. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| AdvancedRankingExpression | 9 | Ranked by the advanced ranking expression provided. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |