mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 21:20:24 +01:00
The "document addition done"
appear once the indexation is over now.
This commit is contained in:
parent
47a1aa69f0
commit
b774adfbf7
@ -336,7 +336,6 @@ impl Index {
|
||||
indexed_documents: count,
|
||||
number_of_documents: count,
|
||||
};
|
||||
info!("document addition done: {:?}", addition);
|
||||
Ok(addition)
|
||||
}
|
||||
Err(e) => Err(IndexError::from(e)),
|
||||
@ -348,6 +347,7 @@ impl Index {
|
||||
if results.iter().any(Result::is_ok) {
|
||||
let _addition = builder.execute()?;
|
||||
txn.commit()?;
|
||||
info!("document addition done: {:?}", _addition);
|
||||
}
|
||||
|
||||
Ok(results)
|
||||
|
Loading…
x
Reference in New Issue
Block a user