mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 12:46:31 +00:00
Switch to hannoy 0.0.4
This commit is contained in:
committed by
Louis Dureuil
parent
a8e9597f49
commit
6d9e0c4bce
@ -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