Skip to main content
Chroma Docs home page
Search...
⌘K
Ask AI
26k
11k
25k
Dashboard
Dashboard
Search...
Navigation
TypeScript
Schema
Docs
Chroma Cloud
Guides
Integrations
Reference
Overview
SDKs
Python
TypeScript
Client
Collection
Embedding Functions
Search
Schema
Where Filters
Rust
Beta SDKs
Kotlin
Swift
APIs
Chroma Core API
Chroma Cloud API
Chroma Sync API
Other
Where Filters
On this page
Schema
Index configs
FtsIndexConfig
StringInvertedIndexConfig
IntInvertedIndexConfig
FloatInvertedIndexConfig
BoolInvertedIndexConfig
VectorIndexConfig
SparseVectorIndexConfig
TypeScript
Schema
Copy page
Copy page
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
defaults
ValueTypes
keys
Record<string, ValueTypes>
cmek
Cmek | null
Index configs
FtsIndexConfig
Properties
type
FtsIndexConfig
StringInvertedIndexConfig
Properties
type
StringInvertedIndexConfig
IntInvertedIndexConfig
Properties
type
IntInvertedIndexConfig
FloatInvertedIndexConfig
Properties
type
FloatInvertedIndexConfig
BoolInvertedIndexConfig
Properties
type
BoolInvertedIndexConfig
VectorIndexConfig
Properties
type
VectorIndexConfig
space
Space | null
embeddingFunction
EmbeddingFunction | null | undefined
sourceKey
string | null
hnsw
HnswIndexConfig | null
spann
SpannIndexConfig | null
SparseVectorIndexConfig
Properties
type
SparseVectorIndexConfig
embeddingFunction
SparseEmbeddingFunction | null | undefined
sourceKey
string | null
bm25
boolean | null
Was this page helpful?
Yes
No
Suggest edits
Search
Previous
Where Filters
Next
⌘I