mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-24 05:30:16 +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,
|
indexed_documents: count,
|
||||||
number_of_documents: count,
|
number_of_documents: count,
|
||||||
};
|
};
|
||||||
info!("document addition done: {:?}", addition);
|
|
||||||
Ok(addition)
|
Ok(addition)
|
||||||
}
|
}
|
||||||
Err(e) => Err(IndexError::from(e)),
|
Err(e) => Err(IndexError::from(e)),
|
||||||
@ -348,6 +347,7 @@ impl Index {
|
|||||||
if results.iter().any(Result::is_ok) {
|
if results.iter().any(Result::is_ok) {
|
||||||
let _addition = builder.execute()?;
|
let _addition = builder.execute()?;
|
||||||
txn.commit()?;
|
txn.commit()?;
|
||||||
|
info!("document addition done: {:?}", _addition);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(results)
|
Ok(results)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user