lsh-rs icon indicating copy to clipboard operation
lsh-rs copied to clipboard

Locality Sensitive Hashing in Rust with Python bindings

Results 9 lsh-rs issues
Sort by recently updated
recently updated
newest added

Building using Rust-1.57.0 with `Cargo.toml`: ``` [dependencies] clap = "*" log = "*" env_logger = "*" lsh-rs = {version = "*", features = ["blas"]} ndarray = {version = "*", features...

Hi, i'm python user. I am enjoy to use your wonderful algorithm. While using it, i got some question. Is there any function that add samples after indexing for example...

I'm roughly using the following code: ```rust let query_emb: Vec; let doc_emb: Vec; // contains 3 document embeddings ... let mut lsh = LshMem::new(10, 30, 512).srp().unwrap(); let _x = lsh.store_vecs(&doc_emb[..]);...

Following https://github.com/ritchie46/lsh-rs/issues/9#issuecomment-828215274, tracking separately: This make sense, BLAS is only for squeezing out max performance, but should definitely be opt in.

Would be nice to be able to build Python bindings + Blas support for mac.

The `crate::table::general::HashTables` has a delete method that is only implemented for the in memory backend. Could be useful for sqlite backend as well. See: https://github.com/ritchie46/lsh-rs/blob/master/lsh-rs/src/table/general.rs

Should we drop the Error return in the builder pattern and just panic? An error could return if we could not create a sqlite database.

Mmapping the fs can make the Sqlite backend faster. https://www.sqlite.org/mmap.html This could be a configuration for `LSH` that could be set as builder pattern. ``` let lsh = LshSql::new(..) .use_mmap()...

I ran into this error with the latest version of lsh-rs: ``` Compiling lsh-rs v0.4.0 error[E0432]: unresolved import `serde::export` --> C:\Users\steve\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsh-rs-0.4.0\src\hash.rs:8:12 | 8 | use serde::export::PhantomData; | ^^^^^^ could not...