Share via


SearchSuggestionSpec.FilterDocumentIds Property

Definition

Returns the map of namespace and target document ids to search over.

public System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>> FilterDocumentIds { [Android.Runtime.Register("getFilterDocumentIds", "()Ljava/util/Map;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getFilterDocumentIds", "()Ljava/util/Map;", "", ApiSince=34)>]
member this.FilterDocumentIds : System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<string>>

Property Value

Attributes

Remarks

Returns the map of namespace and target document ids to search over.

The keys of the returned map are namespaces, and the values are the target document ids in that namespace to search over.

If Builder#addFilterDocumentIds was never called, returns an empty map. In this case AppSearch will search over all namespace and document ids.

Calling this function repeatedly is inefficient. Prefer to retain the Map returned by this function, rather than calling it multiple times.

Java documentation for android.app.appsearch.SearchSuggestionSpec.getFilterDocumentIds().

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