mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-05 12:16:32 +00:00
Switch to hannoy 0.0.4
This commit is contained in:
832
Cargo.lock
generated
832
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -88,7 +88,7 @@ rhai = { version = "1.22.2", features = [
|
||||
"sync",
|
||||
] }
|
||||
arroy = "0.6.1"
|
||||
hannoy = "0.0.3"
|
||||
hannoy = "0.0.4"
|
||||
rand = "0.8.5"
|
||||
tracing = "0.1.41"
|
||||
ureq = { version = "2.12.1", features = ["json"] }
|
||||
|
@ -630,9 +630,6 @@ impl VectorStore {
|
||||
let mut searcher = reader.nns(limit);
|
||||
searcher.ef_search((limit * 10).max(100)); // TODO find better ef
|
||||
if let Some(filter) = filter {
|
||||
if reader.item_ids().is_disjoint(filter) {
|
||||
continue;
|
||||
}
|
||||
searcher.candidates(filter);
|
||||
}
|
||||
|
||||
@ -710,9 +707,6 @@ impl VectorStore {
|
||||
let mut searcher = reader.nns(limit);
|
||||
searcher.ef_search((limit * 10).max(100)); // TODO find better ef
|
||||
if let Some(filter) = filter {
|
||||
if reader.item_ids().is_disjoint(filter) {
|
||||
continue;
|
||||
}
|
||||
searcher.candidates(filter);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user