mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08: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…
Reference in New Issue
Block a user