Share via


SearchSuggestionSpec.FilterProperties Property

Definition

Returns the map of schema and target properties to search over.

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

Property Value

Attributes

Remarks

Returns the map of schema and target properties to search over.

The keys of the returned map are schema types, and the values are the target property path in that schema to search over.

If Builder#addFilterPropertyPaths was never called, returns an empty map. In this case AppSearch will search over all schemas and properties.

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.getFilterProperties().

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