AppSearchSchema.EmbeddingPropertyConfig.IndexingTypeSimilarity Field

Definition

Caution

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

Embedding vectors in this property will be indexed.

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

Field Value

Value = 1
Attributes

Remarks

Embedding vectors in this property will be indexed.

The index offers 100% accuracy, but has linear time complexity based on the number of embedding vectors within the index.

Java documentation for android.app.appsearch.AppSearchSchema.EmbeddingPropertyConfig.INDEXING_TYPE_SIMILARITY.

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