From a43b37dfc1b20d3b81d148b0ec4925425004e5c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Mon, 28 Oct 2019 17:58:22 +0100 Subject: [PATCH] Send channel notification when clearing documents --- meilidb-core/src/store/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/meilidb-core/src/store/mod.rs b/meilidb-core/src/store/mod.rs index db3051ddd..c384d62ce 100644 --- a/meilidb-core/src/store/mod.rs +++ b/meilidb-core/src/store/mod.rs @@ -167,6 +167,7 @@ impl Index { } pub fn clear_all(&self, writer: &mut heed::RwTxn) -> MResult { + let _ = self.updates_notifier.send(()); update::push_clear_all(writer, self.updates, self.updates_results) }