Skip to main content

Module vamana

Module vamana 

Source

Re-exports§

pub use build::build_vamana;
pub use graph::VamanaGraph;
pub use graph::VamanaNode;
pub use node_fetcher::InMemoryFetcher;
pub use node_fetcher::NodeFetcher;
pub use prune::alpha_prune;
pub use search::BeamSearchResult;
pub use search::rerank;
pub use shard::LocalShard;
pub use shard::Shard;
pub use storage::HEADER_BYTES;
pub use storage::VAMANA_MAGIC;
pub use storage::VAMANA_VERSION;
pub use storage::VamanaStorageLayout;
pub use storage::vector_offset;

Modules§

build
Two-pass Vamana graph builder (randomized → α-pruned).
graph
Vamana graph structure — adjacency-only, no vector data stored here.
node_fetcher
NodeFetcher trait — abstracts in-memory vs io_uring-backed FP32 vector retrieval for Vamana beam-search and rerank.
prune
α-pruning for the Vamana graph.
search
Beam-search for the Vamana graph.
shard
Shard trait — abstracts local-mmap vs future remote-RPC partition fetch.
storage
Vamana on-disk layout description.