CreateCollectionBuilder
class CreateCollectionBuilder
DSL for createCollection. Configure exactly one of a single vector or one-or-more named vectors.
Properties
Link copied to clipboard
Collection-wide HNSW index tuning.
Link copied to clipboard
Store payloads on disk instead of RAM.
Link copied to clipboard
Optimizer tuning.
Link copied to clipboard
Vector quantization, to shrink the collection's memory footprint.
Link copied to clipboard
How many replicas of each shard to keep.
Link copied to clipboard
Number of shards to split the collection into.
Functions
Link copied to clipboard
Add a named vector. Repeatable. Mutually exclusive with vector.
Link copied to clipboard
Add a named sparse vector. Repeatable; may coexist with dense/named vectors (hybrid search).
Link copied to clipboard
Configure a single anonymous vector. Mutually exclusive with namedVector.