Expand description
Key encoding/decoding for vector database records.
All keys use big-endian encoding for lexicographic ordering.
Structsยง
- Centroid
Chunk Key - CentroidChunk key - stores a chunk of cluster centroids.
- Centroid
Stats Key - CentroidStats key - per-centroid vector count for rebalance triggers.
- Collection
Meta Key - CollectionMeta key - singleton record storing collection schema.
- Deletions
Key - Deletions key - singleton record storing deleted vector IDs bitmap.
- IdDictionary
Key - IdDictionary key - maps external string IDs to internal u64 vector IDs.
- Metadata
Index Key - MetadataIndex key - inverted index mapping metadata values to vector IDs.
- Posting
List Key - PostingList key - maps centroid ID to vector IDs.
- SeqBlock
Key - SeqBlock key - singleton record storing sequence allocation state.
- Vector
Data Key - VectorData key - stores raw vector bytes.