fix the indexing fuzzer

This commit is contained in:
Tamo 2022-04-25 18:32:06 +02:00
parent 8010eca9c7
commit fa6f495662
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69

View File

@ -39,7 +39,7 @@ fn index_documents(
let mut wtxn = index.write_txn()?;
let indexing_config = IndexDocumentsConfig::default();
let mut builder = IndexDocuments::new(&mut wtxn, &index, &config, indexing_config, |_| ());
let mut builder = IndexDocuments::new(&mut wtxn, &index, &config, indexing_config, |_| ())?;
builder.add_documents(documents)?;
builder.execute().unwrap();