Skip to main content

Module collection_config

Module collection_config 

Source
Expand description

Vector-primary collection configuration types.

PrimaryEngine is a parallel attribute to CollectionType that tells the planner which engine is the primary access path for a collection. Vectors remain an index — not a collection type — but a primary = 'vector' attribute means the vector index is the hot path and the document store is a metadata sidecar.

Structs§

VectorPrimaryConfig
Configuration for a vector-primary collection.

Enums§

PayloadAtom
A single payload-bitmap predicate atom emitted by the SQL planner and consumed by the vector search handler. The handler ANDs all atoms in VectorOp::Search::payload_filters; each atom may itself be a disjunction (In).
PayloadIndexKind
Storage kind for a payload bitmap index. Equality fields use a HashMap<key, bitmap> (O(1) lookup); Range fields use a BTreeMap for sorted range scans; Boolean is a low-cardinality equality variant.
PrimaryEngine
Which engine serves as the primary access path for a collection.