Skip to main content

Module hnsw

Module hnsw 

Source

Re-exports§

pub use graph::Candidate;
pub use graph::HnswIndex;
pub use graph::Node;
pub use graph::SearchResult;
pub use graph::Xorshift64;

Modules§

build
HNSW insert algorithm (Malkov & Yashunin, Algorithm 1).
checkpoint
HNSW checkpoint serialization and deserialization.
flat_neighbors
Flat neighbor storage for zero-copy HNSW checkpoint restore.
graph
HNSW graph structure — nodes, parameters, core index operations.
search
HNSW search algorithm (Malkov & Yashunin, Algorithm 2).

Structs§

HnswParams
HNSW index parameters shared between Origin and Lite.