Expand description
Vector database implementation with atomic flush semantics.
This module provides the main VectorDb struct that handles:
- Vector ingestion with validation
- In-memory delta buffering via WriteCoordinator
- Atomic flush with ID allocation
- Snapshot management for consistency
The implementation uses the WriteCoordinator pattern for write path:
- Validation and ID allocation happen in write()
- Delta handles dictionary lookup, centroid assignment, and builds RecordOps
- Flusher applies ops atomically to storage
Structs§
- Vector
Db - Vector database for storing and querying embedding vectors.
Traits§
- Vector
DbRead - Trait for querying the vector db