mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-05 20:26:31 +00:00
Change the ef construction to 64
This commit is contained in:
@ -147,7 +147,7 @@ impl HannoyWrapper {
|
|||||||
if self.quantized {
|
if self.quantized {
|
||||||
let writer = hannoy::Writer::new(self.quantized_db(), index, dimension);
|
let writer = hannoy::Writer::new(self.quantized_db(), index, dimension);
|
||||||
if writer.need_build(wtxn)? {
|
if writer.need_build(wtxn)? {
|
||||||
writer.builder(rng).ef_construction(33).build::<16, 32>(wtxn)?
|
writer.builder(rng).ef_construction(64).build::<16, 32>(wtxn)?
|
||||||
} else if writer.is_empty(wtxn)? {
|
} else if writer.is_empty(wtxn)? {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -173,7 +173,7 @@ impl HannoyWrapper {
|
|||||||
.available_memory(hannoy_memory.unwrap_or(usize::MAX))
|
.available_memory(hannoy_memory.unwrap_or(usize::MAX))
|
||||||
// .progress(|step| progress.update_progress_from_hannoy(step))
|
// .progress(|step| progress.update_progress_from_hannoy(step))
|
||||||
// .cancel(cancel)
|
// .cancel(cancel)
|
||||||
.ef_construction(33)
|
.ef_construction(64)
|
||||||
.build::<16, 32>(wtxn)?;
|
.build::<16, 32>(wtxn)?;
|
||||||
} else if writer.is_empty(wtxn)? {
|
} else if writer.is_empty(wtxn)? {
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user