Share via


SearchSpec.DefaultEmbeddingSearchMetricType Property

Definition

Returns the default embedding metric type used for embedding search (see AppSearchSession#search) and ranking (see SearchSpec.Builder#setRankingStrategy(String)).

public Android.App.AppSearch.EmbeddingSearchMetricType DefaultEmbeddingSearchMetricType { [Android.Runtime.Register("getDefaultEmbeddingSearchMetricType", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getDefaultEmbeddingSearchMetricType", "()I", "", ApiSince=36)>]
member this.DefaultEmbeddingSearchMetricType : Android.App.AppSearch.EmbeddingSearchMetricType

Property Value

Attributes

Remarks

Returns the default embedding metric type used for embedding search (see AppSearchSession#search) and ranking (see SearchSpec.Builder#setRankingStrategy(String)).

Java documentation for android.app.appsearch.SearchSpec.getDefaultEmbeddingSearchMetricType().

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