Skip to main content

Crate nodedb_vector

Crate nodedb_vector 

Source

Re-exports§

pub use error::VectorError;
pub use hnsw::HnswIndex;
pub use hnsw::SearchResult;
pub use quantize::Sq8Codec;

Modules§

build
HNSW insert algorithm (Malkov & Yashunin, Algorithm 1).
distance
Distance metrics for vector similarity search.
error
Vector engine error types.
hnsw
HNSW graph structure — nodes, parameters, checkpoint serialization.
quantize
Scalar Quantization (SQ8): FP32 → INT8 per-dimension.
search
HNSW search algorithm (Malkov & Yashunin, Algorithm 2).

Structs§

HnswParams
HNSW index parameters shared between Origin and Lite.

Enums§

DistanceMetric
Distance metric selection.