Share via


SearchSpec.PropertyWeightPaths Property

Definition

Returns properties weights to be used for scoring.

public System.Collections.Generic.IDictionary<string,System.Collections.Generic.IDictionary<Android.App.AppSearch.PropertyPath,Java.Lang.Double>> PropertyWeightPaths { [Android.Runtime.Register("getPropertyWeightPaths", "()Ljava/util/Map;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getPropertyWeightPaths", "()Ljava/util/Map;", "", ApiSince=34)>]
member this.PropertyWeightPaths : System.Collections.Generic.IDictionary<string, System.Collections.Generic.IDictionary<Android.App.AppSearch.PropertyPath, Java.Lang.Double>>

Property Value

a Map of schema type to an inner-map of property paths of the schema type to the weight to set for that property.

Attributes

Remarks

Returns properties weights to be used for scoring.

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.SearchSpec.getPropertyWeightPaths().

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