SearchSpec.Builder.AddInformationalRankingExpressions Method
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.
Overloads
| Name | Description |
|---|---|
| AddInformationalRankingExpressions(ICollection<String>) |
Adds informational ranking expressions to be evaluated for each document in the search result. |
| AddInformationalRankingExpressions(String[]) |
Adds informational ranking expressions to be evaluated for each document in the search result. |
AddInformationalRankingExpressions(ICollection<String>)
Adds informational ranking expressions to be evaluated for each document in the search result.
[Android.Runtime.Register("addInformationalRankingExpressions", "(Ljava/util/Collection;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=36)]
public Android.App.AppSearch.SearchSpec.Builder AddInformationalRankingExpressions(System.Collections.Generic.ICollection<string> informationalRankingExpressions);
[<Android.Runtime.Register("addInformationalRankingExpressions", "(Ljava/util/Collection;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=36)>]
member this.AddInformationalRankingExpressions : System.Collections.Generic.ICollection<string> -> Android.App.AppSearch.SearchSpec.Builder
Parameters
- informationalRankingExpressions
- ICollection<String>
Returns
- Attributes
Remarks
Adds informational ranking expressions to be evaluated for each document in the search result. The values of these expressions will be returned to the caller via SearchResult.getInformationalRankingSignals(). These expressions are purely for the caller to retrieve additional information about the result and have no effect on ranking. The syntax is exactly the same as specified in SearchSpec.Builder.setRankingStrategy(String).
Android reference for android.app.appsearch.SearchSpec.Builder.addInformationalRankingExpressions.
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.
Applies to
AddInformationalRankingExpressions(String[])
Adds informational ranking expressions to be evaluated for each document in the search result.
[Android.Runtime.Register("addInformationalRankingExpressions", "([Ljava/lang/String;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=36)]
public Android.App.AppSearch.SearchSpec.Builder AddInformationalRankingExpressions(params string[] informationalRankingExpressions);
[<Android.Runtime.Register("addInformationalRankingExpressions", "([Ljava/lang/String;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=36)>]
member this.AddInformationalRankingExpressions : string[] -> Android.App.AppSearch.SearchSpec.Builder
Parameters
- informationalRankingExpressions
- String[]
Returns
- Attributes
Remarks
Adds informational ranking expressions to be evaluated for each document in the search result. The values of these expressions will be returned to the caller via SearchResult.getInformationalRankingSignals(). These expressions are purely for the caller to retrieve additional information about the result and have no effect on ranking. The syntax is exactly the same as specified in SearchSpec.Builder.setRankingStrategy(String).
Android reference for android.app.appsearch.SearchSpec.Builder.addInformationalRankingExpressions.
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.