Skip to main content

Module graph

Module graph 

Source
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§

HnswCodecIndex
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.