public final class

AppSearchSchema.EmbeddingPropertyConfig

extends AppSearchSchema.PropertyConfig

 java.lang.Object

androidx.appsearch.app.AppSearchSchema.PropertyConfig

↳androidx.appsearch.app.AppSearchSchema.EmbeddingPropertyConfig

Overview

Configuration for a property of type EmbeddingVector in a Document.

Summary

Fields
public static final intINDEXING_TYPE_NONE

Content in this property will not be indexed.

public static final intINDEXING_TYPE_SIMILARITY

Embedding vectors in this property will be indexed.

from AppSearchSchema.PropertyConfigCARDINALITY_OPTIONAL, CARDINALITY_REPEATED, CARDINALITY_REQUIRED, DATA_TYPE_BOOLEAN, DATA_TYPE_BYTES, DATA_TYPE_DOCUMENT, DATA_TYPE_DOUBLE, DATA_TYPE_EMBEDDING, DATA_TYPE_LONG, DATA_TYPE_STRING
Methods
public intgetIndexingType()

Returns how the property is indexed.

from AppSearchSchema.PropertyConfigequals, fromParcel, getCardinality, getDataType, getDescription, getName, hashCode, toString
from java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait

Fields

public static final int INDEXING_TYPE_NONE

Content in this property will not be indexed.

public static final int INDEXING_TYPE_SIMILARITY

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.

Methods

public int getIndexingType()

Returns how the property is indexed.