vicinity 0.3.1

Approximate Nearest Neighbor Search: HNSW, DiskANN, IVF-PQ, ScaNN, quantization
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Approximate Nearest Neighbor (ANN) search algorithms.
//!
//! Pure Rust implementations of ANN algorithms:
//! - **HNSW**: Hierarchical Navigable Small World (graph-based) - see [`crate::hnsw`]
//! - **NSW**: Flat Navigable Small World (single-layer graph) - see `crate::nsw`
//! - **AnisotropicVQ-kmeans**: Anisotropic Vector Quantization with k-means Partitioning
//!   (vendor name: SCANN/ScaNN) - see `crate::scann`
//! - **IVF-PQ**: Inverted File Index with Product Quantization - see `crate::ivf_pq`
//! - **DiskANN**: Disk-based ANN for very large datasets - see `crate::diskann`
//!
//! All algorithms are optimized with SIMD acceleration and minimal dependencies.
//! Use concrete index types directly (e.g., `hnsw::HNSWIndex`, `diskann::DiskANNIndex`).