Expand description
Vector Store
Segment-based vector storage with HNSW indexing and metadata support. Inspired by Chroma and Milvus architectures.
§Architecture
- Collection: A named set of vectors with a fixed dimension
- Segment: A unit of storage (Growing → Sealed → Flushed)
- HNSW Index: Built when segment is sealed
- Metadata: Per-vector key-value pairs with filtering
§Segment Lifecycle
- Growing: Accepts writes, no HNSW index (brute-force search)
- Sealed: Immutable, HNSW index is built
- Flushed: Written to disk (future)
Structs§
- Search
Result - Result of a vector search
- Segment
Config - Configuration for vector segments
- Vector
Collection - Vector collection containing multiple segments
- Vector
Segment - A vector segment containing vectors, metadata, and optional index
- Vector
Store - Multi-collection vector store
Enums§
- Segment
State - Segment state in its lifecycle
- Vector
Store Error - Vector store errors