Language

SearchSpec.Builder.AddInformationalRankingExpressions Method

Definition

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>

The expressions to append to the search's informational ranking expressions.

Returns

This builder instance.

Attributes

Remarks

Adds informational ranking expressions to be evaluated for each document in the search result. Their values are returned in InformationalRankingSignals. These expressions provide additional information and have no effect on ranking. Their syntax is the same as for 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[]

The expressions to append to the search's informational ranking expressions.

Returns

This builder instance.

Attributes

Remarks

Adds informational ranking expressions to be evaluated for each document in the search result. Their values are returned in InformationalRankingSignals. These expressions provide additional information and have no effect on ranking. Their syntax is the same as for 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