Skip to main content

Module vector_store

Module vector_store 

Source
Expand description

Vector search acceleration structures.

Use these in front of exact cosine scoring to eliminate candidates before doing expensive dot-product math.

StructureAlgorithmTradeoff
LshIndexLSH w/ random projectionSimple, zero deps, ~90% recall

More structures (HNSW, IVF) can be added as separate modules.

Re-exports§

pub use lsh::LshIndex;

Modules§

lsh
Locality Sensitive Hashing (LSH) for approximate nearest-neighbour search.