ruvector/crates/ruvector-query-cache
2026-08-12 10:37:32 -04:00
..
src fix: integrate latest PRs and issue regressions 2026-08-12 10:37:32 -04:00
Cargo.toml fix: integrate latest PRs and issue regressions 2026-08-12 10:37:32 -04:00
README.md fix: integrate latest PRs and issue regressions 2026-08-12 10:37:32 -04:00

ruvector-query-cache

Experimental query-result caching for vector search. The crate compares an uncached brute-force baseline, exact-query caching, and cosine-based semantic caching with bounded capacity.

cargo test -p ruvector-query-cache
cargo run --release -p ruvector-query-cache --bin benchmark

Semantic hits deliberately trade exact result fidelity for latency. Select a threshold using workload-specific recall measurements before production use.