Skip to main content

Module key

Module key 

Source
Expand description

Key encoding/decoding for vector database records.

All keys use big-endian encoding for lexicographic ordering.

Structsยง

CentroidChunkKey
CentroidChunk key - stores a chunk of cluster centroids.
CentroidStatsKey
CentroidStats key - per-centroid vector count for rebalance triggers.
CollectionMetaKey
CollectionMeta key - singleton record storing collection schema.
DeletionsKey
Deletions key - singleton record storing deleted vector IDs bitmap.
IdDictionaryKey
IdDictionary key - maps external string IDs to internal u64 vector IDs.
MetadataIndexKey
MetadataIndex key - inverted index mapping metadata values to vector IDs.
PostingListKey
PostingList key - maps centroid ID to vector IDs.
SeqBlockKey
SeqBlock key - singleton record storing sequence allocation state.
VectorDataKey
VectorData key - stores raw vector bytes.