Fix ef value for insertion Searches
This commit is contained in:
parent
4c7caaf436
commit
9e302d7dbe
|
@ -214,6 +214,7 @@ where
|
|||
let mut batch = Vec::new();
|
||||
let mut done = Vec::new();
|
||||
let mut insertion = Search::default();
|
||||
insertion.ef = ef_construction;
|
||||
let max_batch_len = num_cpus::get() * 4;
|
||||
for (layer, mut range) in ranges {
|
||||
let num = if layer.0 > 0 { M } else { M * 2 };
|
||||
|
|
Loading…
Reference in New Issue