Expand description
HnswCodecIndex<C> — generic HNSW graph parameterised on any VectorCodec.
Stores one C::Quantized payload per node instead of raw FP32 vectors.
All distance computations are delegated to the codec’s
fast_symmetric_distance (routing) and exact_asymmetric_distance
(base-layer rerank).
Structs§
- Hnsw
Codec Index - Hierarchical Navigable Small World graph index parameterised on a
VectorCodec. - NodeC
- A node in the codec-generic HNSW graph.
Constants§
- MAX_
LAYER_ CAP - Hard cap on the layer assigned to any node during insertion.