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 rollback::VectorWriteMark;
pub use segment::BuildComplete;
pub use segment::BuildKind;
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.
build
HNSW builds for a VectorCollection: the requests the owning core sends to its builder thread, and installing the finished graphs.
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).
ivf_mode
The IVF-PQ mode of a VectorCollection.
lifecycle
VectorCollection lifecycle: construction, seal, counts and settings.
lifecycle_compact
Truncate, 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.
rollback
Roll a collection back to the state it held before a write.
search
VectorCollection search: multi-segment merging with SQ8 reranking. A trained IVF-PQ index answers beside the segments under global ids.
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.