Share via


SearchSpec.EmbeddingSearchMetricTypeDefault Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.AppSearch.EmbeddingSearchMetricType enum directly instead of this field.

Use the default metric set in SearchSpec#getDefaultEmbeddingSearchMetricType() for embedding search and ranking.

[Android.Runtime.Register("EMBEDDING_SEARCH_METRIC_TYPE_DEFAULT", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.AppSearch.EmbeddingSearchMetricType enum directly instead of this field.", true)]
public const Android.App.AppSearch.EmbeddingSearchMetricType EmbeddingSearchMetricTypeDefault = 0;
[<Android.Runtime.Register("EMBEDDING_SEARCH_METRIC_TYPE_DEFAULT", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AppSearch.EmbeddingSearchMetricType enum directly instead of this field.", true)>]
val mutable EmbeddingSearchMetricTypeDefault : Android.App.AppSearch.EmbeddingSearchMetricType

Field Value

Value = 0

Implements

Attributes

Remarks

Use the default metric set in SearchSpec#getDefaultEmbeddingSearchMetricType() for embedding search and ranking.

Java documentation for android.app.appsearch.SearchSpec.EMBEDDING_SEARCH_METRIC_TYPE_DEFAULT.

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