From b774adfbf71ca667e16eaa608b019ce068bfcbc6 Mon Sep 17 00:00:00 2001 From: evpeople Date: Sat, 27 Aug 2022 21:50:10 +0800 Subject: [PATCH] The "document addition done" appear once the indexation is over now. --- meilisearch-lib/src/index/updates.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-lib/src/index/updates.rs b/meilisearch-lib/src/index/updates.rs index 1361cb919..6507fc343 100644 --- a/meilisearch-lib/src/index/updates.rs +++ b/meilisearch-lib/src/index/updates.rs @@ -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)