From a35eb16a2a7e2bbe207a9a0dd93f56af49e8a91c Mon Sep 17 00:00:00 2001 From: qdequele Date: Wed, 15 Jan 2020 17:07:25 +0100 Subject: [PATCH] store the schema after each document updates --- meilisearch-core/src/update/documents_addition.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meilisearch-core/src/update/documents_addition.rs b/meilisearch-core/src/update/documents_addition.rs index 825335c4e..2844839c2 100644 --- a/meilisearch-core/src/update/documents_addition.rs +++ b/meilisearch-core/src/update/documents_addition.rs @@ -158,6 +158,8 @@ pub fn apply_documents_addition<'a, 'b>( document.serialize(serializer)?; } + + write_documents_addition_index( writer, index, @@ -244,6 +246,8 @@ pub fn apply_documents_partial_addition<'a, 'b>( document.serialize(serializer)?; } + + write_documents_addition_index( writer, index,