EmbeddingPropertyConfig


class EmbeddingPropertyConfig : AppSearchSchema.PropertyConfig
kotlin.Any
   ↳ android.app.appsearch.AppSearchSchema.PropertyConfig
   ↳ android.app.appsearch.AppSearchSchema.EmbeddingPropertyConfig

Configuration for a property of type EmbeddingVector in a Document.

Summary

Nested classes

Builder for EmbeddingPropertyConfig.

Constants
static Int

Content in this property will not be indexed.

static Int

Embedding vectors in this property will be indexed.

Inherited constants
Public methods
Int

Returns how the property is indexed.

Inherited functions

Constants

INDEXING_TYPE_NONE

static val INDEXING_TYPE_NONE: Int

Content in this property will not be indexed.

Value: 0

INDEXING_TYPE_SIMILARITY

static val INDEXING_TYPE_SIMILARITY: Int

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.

Value: 1

Public methods