Share via


SearchSpec.EmbeddingSearchMetricTypeEuclidean Field

Definition

Caution

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

Euclidean distance as metric for embedding search and ranking.

[Android.Runtime.Register("EMBEDDING_SEARCH_METRIC_TYPE_EUCLIDEAN", 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 EmbeddingSearchMetricTypeEuclidean = 3;
[<Android.Runtime.Register("EMBEDDING_SEARCH_METRIC_TYPE_EUCLIDEAN", 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 EmbeddingSearchMetricTypeEuclidean : Android.App.AppSearch.EmbeddingSearchMetricType

Field Value

Value = 3

Implements

Attributes

Remarks

Euclidean distance as metric for embedding search and ranking.

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

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