## Summary Integrate HNSW (hnsw crate) for fast approximate nearest neighbor search on embedding vectors. ## Acceptance Criteria - [ ] HNSW index struct with configurable M and ef_construction - [ ] insert(uuid, Vec<f32>) adds vector to index - [ ] search(query_vec, top_k) returns list of (uuid, score) sorted by similarity - [ ] persist() saves index to disk (~/.uteke/hnsw.bin) - [ ] load() restores index from disk - [ ] Handles 10K+ vectors without performance degradation - [ ] Benchmark: search <5ms for 10K vectors, <20ms for 100K - [ ] Unit tests with synthetic vectors ## Deliverable Working HNSW index with disk persistence and benchmarks. Estimated: 10h
Activity
feat: implement core engine — SQLite, HNSW, ONNX embedding (closes #5, …
ajianaz commentedon May 29, 2026
Implemented in develop branch
fix: comprehensive cache invalidation + FTS5 scoring (#849) (#854)
fix: comprehensive cache invalidation + FTS5 scoring (#849) (#854)
feat: P2/P3 improvements + fix issue codecoradev#1034/codecoradev#1035
ci: pass the PR base branch to the Cora review action (#1386)