Language

JoinSpec.Builder.SetNestedSearch(String, SearchSpec) メソッド

定義

結合するドキュメントのクエリと SearchSpec を設定します。

[Android.Runtime.Register("setNestedSearch", "(Ljava/lang/String;Landroid/app/appsearch/SearchSpec;)Landroid/app/appsearch/JoinSpec$Builder;", "", ApiSince=34)]
public Android.App.AppSearch.JoinSpec.Builder SetNestedSearch(string nestedQuery, Android.App.AppSearch.SearchSpec nestedSearchSpec);
[<Android.Runtime.Register("setNestedSearch", "(Ljava/lang/String;Landroid/app/appsearch/SearchSpec;)Landroid/app/appsearch/JoinSpec$Builder;", "", ApiSince=34)>]
member this.SetNestedSearch : string * Android.App.AppSearch.SearchSpec -> Android.App.AppSearch.JoinSpec.Builder

パラメーター

nestedQuery
String

入れ子になった検索用に格納するクエリ テキスト。

nestedSearchSpec
SearchSpec

入れ子になった検索用に格納する検索設定。

戻り値

このビルダー インスタンス。

属性

注釈

結合するドキュメントのクエリと SearchSpec を設定します。 これにより、結合されたドキュメントのスコア付けとランク付け、および結合されたドキュメントのフィルター処理が行われます。 外側の SearchSpec でSearchSpec.RANKING_STRATEGY_JOIN_AGGREGATE_SCOREが設定されている場合、結果のシグナルは親ドキュメントのランク付けに使用されます。 新しいビルダーの既定値はJoinSpec.AGGREGATION_SCORING_OUTER_RESULT_RANKING_SIGNALで、親ドキュメントのランク付けシグナルが使用されます。JoinSpec.Builder.setAggregationScoringStrategy を使用して別の戦略を設定します。 また、新しいビルダーは既定で空の入れ子になったクエリに設定されます。このクエリは、等価制約に一致し、型または名前空間フィルターによって除外されていないすべての可能なドキュメントを結合します。 JoinSpec からコピーされたビルダーは、入れ子になったクエリ、SearchSpec、および集計戦略を保持します。

android.app.appsearch.JoinSpec.Builder.setNestedSearchの Android リファレンス。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象