Skip to main contentModule hnsw
Source pub use graph::Candidate;pub use graph::HnswIndex;pub use graph::Node;pub use graph::SearchResult;pub use graph::Xorshift64;
- 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).
- HnswParams
- HNSW index parameters shared between Origin and Lite.