mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Fix the indexation tests
This commit is contained in:
parent
fcfc4caf8c
commit
399eec5c01
15 changed files with 288 additions and 194 deletions
|
@ -100,9 +100,10 @@ mod tests {
|
|||
]);
|
||||
let indexing_config = IndexDocumentsConfig::default();
|
||||
let config = IndexerConfig::default();
|
||||
let mut builder =
|
||||
let builder =
|
||||
IndexDocuments::new(&mut wtxn, &index, &config, indexing_config, |_| ()).unwrap();
|
||||
builder.add_documents(content).unwrap();
|
||||
let (builder, user_error) = builder.add_documents(content).unwrap();
|
||||
user_error.unwrap();
|
||||
builder.execute().unwrap();
|
||||
|
||||
// Clear all documents from the database.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue