Skip to main content

claw_vector/index/
mod.rs

1// index/mod.rs — public re-exports for the index sub-module.
2/// Brute-force flat vector index for small collections.
3pub mod flat;
4/// HNSW index wrapper around hnsw_rs.
5pub mod hnsw;
6/// Auto-selecting index that migrates from flat to HNSW at the configured threshold.
7pub mod selector;
8
9pub use flat::FlatIndex;
10pub use hnsw::{HnswIndex, HnswStats};
11pub use selector::{IndexSelector, HNSW_THRESHOLD};