Skip to main content

Module collection

Module collection 

Source

Re-exports§

pub use lifecycle::VectorCollection;
pub use payload_index::FilterPredicate;
pub use payload_index::PayloadIndex;
pub use payload_index::PayloadIndexSet;
pub use segment::BuildComplete;
pub use segment::BuildRequest;
pub use segment::BuildingSegment;
pub use segment::DEFAULT_SEAL_THRESHOLD;
pub use segment::SealedSegment;
pub use tier::StorageTier;

Modules§

budget
RAM budget enforcement and mmap spillover for VectorCollection.
checkpoint
Checkpoint serialization and deserialization for VectorCollection.
codec_build
Methods on VectorCollection for building the collection-level codec-dispatch index (RaBitQ, BBQ).
codec_dispatch
Per-collection codec selection. Wraps the generic HnswCodecIndex<C> for codecs other than Sq8 (which retains its specialised fast path in quantize.rs / search.rs).
lifecycle
VectorCollection lifecycle: insert, delete, seal, complete_build, compact.
lifecycle_compact
Compact and snapshot operations for VectorCollection.
lifecycle_insert_ops
Insert, delete, and surrogate-map operations for VectorCollection.
lifecycle_reindex
Rebuild-related accessors on VectorCollection.
payload_index
In-memory payload bitmap indexes for vector-primary collections.
quantize
Quantizer training helpers for VectorCollection.
search
VectorCollection search: multi-segment merging with SQ8 reranking.
segment
Segment types for the VectorCollection lifecycle.
stats
Live statistics aggregation for VectorCollection.
tier

Enums§

PayloadIndexKind
Re-export the kind enum from nodedb-types so the on-disk snapshot and the DDL config wire format share a single definition. 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.