Expand description
IVF (Inverted File Index) module for vector search
This module provides routing and assignment infrastructure shared by float PQ payloads and exact packed binary payloads:
coarse- Coarse centroids for IVF partitioning (k-means clustering)soar- SOAR (Spilling with Orthogonality-Amplified Residuals) for better recall
Structs§
- Coarse
Centroids - Coarse centroids for IVF - trained once, shared across all segments
- Coarse
Config - Configuration for coarse quantizer
- IvfProbe
Plan - A centroid selection computed once and reused by every segment.
- Multi
Assignment - Multi-cluster assignment result from SOAR
- Soar
Config - Configuration for SOAR (Spilling with Orthogonality-Amplified Residuals)
Constants§
- BINARY_
HNSW_ AUTO_ THRESHOLD - Automatic routing switch for packed binary centroids.
- HIERARCHICAL_
TRAINING_ THRESHOLD - Codebook size past which coarse training becomes hierarchical.
- HNSW_
AUTO_ THRESHOLD - Automatic routing switches to a centroid graph at this leaf count.