graph & vector hybrid search toyproject for balancing graphRAG system
Fast vector search in Rust with Python bindings
A toy project to implement vector indexing algorithms (Brute Force, IVF) from scratch in Rust, with PyO3 for Python integration.
- Written in pure Rust for performance and safety
- IVF (Inverted File Index) implementation
- Brute-force fallback for baseline comparison
- Multi-threaded search using
rayon - Python bindings via
PyO3 - Easy integration from Python (e.g., Jupyter notebooks)
- CSV loading or synthetic data generation supported
Build and install the Python module:
# From inside the root folder
maturin develop # or
maturin build --release && pip install target/wheels/*.whl