hermes_core/structures/vector/ivf/mod.rs
1//! IVF (Inverted File Index) module for vector search
2//!
3//! This module provides routing and assignment infrastructure shared by float
4//! PQ payloads and exact packed binary payloads:
5//!
6//! - `coarse` - Coarse centroids for IVF partitioning (k-means clustering)
7//! - `soar` - SOAR (Spilling with Orthogonality-Amplified Residuals) for better recall
8
9mod coarse;
10pub(crate) mod routing;
11mod soar;
12
13pub use coarse::{CoarseCentroids, CoarseConfig};
14pub use routing::{
15 BINARY_HNSW_AUTO_THRESHOLD, HIERARCHICAL_TRAINING_THRESHOLD, HNSW_AUTO_THRESHOLD, IvfProbePlan,
16};
17pub use soar::{MultiAssignment, SoarConfig};