SearchSpec.PropertyWeightPaths Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.