Skip to main content

ANN_MIN_VECTORS

Constant ANN_MIN_VECTORS 

Source
pub const ANN_MIN_VECTORS: usize = 50_000;
Expand description

Minimum corpus size before an HNSW graph is worth building and caching. Below this, exact SIMD brute force is faster and exact (no recall loss).