Files
clawhdf5/crates/clawhdf5-ann/README.md
T

595 B

rustyhdf5-ann

crates.io docs.rs

HNSW approximate nearest neighbor index stored as HDF5.

Features

  • Build and query HNSW indexes persisted in HDF5 format
  • Pure Rust, no C dependencies
  • Efficient similarity search for high-dimensional vectors

Usage

use rustyhdf5_ann::HnswIndex;

let index = HnswIndex::from_hdf5("vectors.h5").unwrap();
let neighbors = index.search(&query, 10);

License

MIT