Reduce candidates threshold

This commit is contained in:
many 2021-10-05 18:52:14 +02:00
parent ea4bd29d14
commit 1bd15d849b
No known key found for this signature in database
GPG key ID: 2CEF23B75189EACA
2 changed files with 2 additions and 1 deletions

View file

@ -361,6 +361,7 @@ async fn main() -> anyhow::Result<()> {
// We must use the write transaction of the update here.
let mut wtxn = index_cloned.write_txn()?;
let mut builder = update_builder.index_documents(&mut wtxn, &index_cloned);
builder.enable_autogenerate_docids();
match method.as_str() {
"replace" => builder