Change the ef construction to 64

This commit is contained in:
Kerollmops
2025-07-21 20:27:22 +02:00
parent b228b2efd9
commit 46aff4e706

View File

@ -147,7 +147,7 @@ impl HannoyWrapper {
if self.quantized {
let writer = hannoy::Writer::new(self.quantized_db(), index, dimension);
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)? {
continue;
}
@ -173,7 +173,7 @@ impl HannoyWrapper {
.available_memory(hannoy_memory.unwrap_or(usize::MAX))
// .progress(|step| progress.update_progress_from_hannoy(step))
// .cancel(cancel)
.ef_construction(33)
.ef_construction(64)
.build::<16, 32>(wtxn)?;
} else if writer.is_empty(wtxn)? {
continue;