mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 04:36:32 +00:00
Bump Hannoy's version
This commit is contained in:
committed by
Louis Dureuil
parent
493d67ffd4
commit
47cee7e1ea
@ -88,7 +88,7 @@ rhai = { version = "1.22.2", features = [
|
||||
"sync",
|
||||
] }
|
||||
arroy = "0.6.1"
|
||||
hannoy = { git = "https://github.com/Kerollmops/hannoy", branch = "release-0.0.2" }
|
||||
hannoy = { git = "https://github.com/nnethercott/hannoy", rev = "cab22c0" }
|
||||
rand = "0.8.5"
|
||||
tracing = "0.1.41"
|
||||
ureq = { version = "2.12.1", features = ["json"] }
|
||||
|
@ -468,7 +468,8 @@ impl VectorStore {
|
||||
|
||||
for reader in self.readers(rtxn, db) {
|
||||
let reader = reader?;
|
||||
let mut searcher = reader.nns(limit, limit * 10); // TODO find better ef
|
||||
let mut searcher = reader.nns(limit);
|
||||
searcher.ef_search(limit * 10); // TODO find better ef
|
||||
if let Some(filter) = filter {
|
||||
if reader.item_ids().is_disjoint(filter) {
|
||||
continue;
|
||||
@ -510,7 +511,8 @@ impl VectorStore {
|
||||
|
||||
for reader in self.readers(rtxn, db) {
|
||||
let reader = reader?;
|
||||
let mut searcher = reader.nns(limit, limit * 10); // TODO find better ef
|
||||
let mut searcher = reader.nns(limit);
|
||||
searcher.ef_search(limit * 10); // TODO find better ef
|
||||
if let Some(filter) = filter {
|
||||
if reader.item_ids().is_disjoint(filter) {
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user