Module hnsw

Module hnsw 

Source
Expand description

HNSW Graph implementation. HNSW module containing graph logic, configuration, and search.

Re-exports§

pub use config::HnswConfig;
pub use graph::BatchDeleteError;
pub use graph::BatchDeleteResult;
pub use graph::CompactionResult;
pub use graph::GraphError;
pub use graph::HnswIndex;
pub use graph::HnswNode;
pub use graph::NodeId;
pub use graph::VectorId;
pub use graph::VectorProvider;
pub use neighbor::NeighborPool;
pub use search::Candidate;
pub use search::SearchContext;
pub use search::SearchResult;
pub use search::Searcher;

Modules§

config
Configuration types.
graph
Graph data structures.
insert
Insertion algorithms.
neighbor
Neighbor management.
rescore
F32 rescoring for BQ search results (v0.7.0 - RFC-002 Phase 2). F32 rescoring for BQ search results (v0.7.0 - RFC-002 Phase 2).
search
Search algorithms.
search_bq
Binary quantization search algorithms (v0.7.0 - RFC-002 Phase 2). Binary quantization search for HNSW (v0.7.0 - RFC-002 Phase 2).

Type Aliases§

HnswGraph
Alias for HnswIndex to support legacy tests.