3 ms·
For vector search we couldn't get my results to return meaningful entries. My preference would have been to use sqlite. Any others you recommend besides sqlite
by correa_brian 1y ago
For vector search we couldn't get my results to return meaningful entries. My preference would have been to use sqlite. Any others you recommend besides sqlite with the vss extension?
- tayo42 1y agoHow are you searching with redis? Aren't vector searches usuaully just like nearest values with some distance calculation? Are they not all implemented the same way?
- terhechte 1y agoYou could split it up in two separate entities. For vector search there's a myriad of good Rust projects. I've personally used: - https://crates.io/crates/lancedb https://crates.io/crates/lancedb - https://crates.io/crates/usearch https://crates.io/crates/usearch - https://crates.io/crates/simsimd https://crates.io/crates/simsimd search and simsimd are fast and lightweight, but I'd advise to use lancedb if you're a bit new to Rust as the other two are a bit trickier to handle due to the C dependency (e.g. usearch needs Vec::with_capacity and will otherwise crash, etc). And then, you take the result of this query and can combine it with a sqlite `in` query. Or you use SQLite with a vector search extension: https://crates.io/crates/rig-sqlite https://crates.io/crates/rig-sqlite