Skip to main content

Schema

Collection schema for configuring indexes and encryption. The schema controls how data is indexed and can optionally specify customer-managed encryption keys (CMEK) for data at rest. Properties
ValueTypes
Record<string, ValueTypes>
Cmek | null

Index configs

FtsIndexConfig

Properties
FtsIndexConfig

StringInvertedIndexConfig

Properties
StringInvertedIndexConfig

IntInvertedIndexConfig

Properties
IntInvertedIndexConfig

FloatInvertedIndexConfig

Properties
FloatInvertedIndexConfig

BoolInvertedIndexConfig

Properties
BoolInvertedIndexConfig

VectorIndexConfig

Properties
VectorIndexConfig
Space | null
EmbeddingFunction | null | undefined
string | null
HnswIndexConfig | null
SpannIndexConfig | null

SparseVectorIndexConfig

Properties
SparseVectorIndexConfig
SparseEmbeddingFunction | null | undefined
string | null
boolean | null