From d05c0faa7a2e356cdf33588213e7f94862b763a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 9 Nov 2023 13:53:23 +0100 Subject: [PATCH] Make the engine not reindexing when changing synonyms --- milli/src/update/settings.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/milli/src/update/settings.rs b/milli/src/update/settings.rs index c2c0e9084..8321c1f27 100644 --- a/milli/src/update/settings.rs +++ b/milli/src/update/settings.rs @@ -894,7 +894,7 @@ impl<'a, 't, 'u, 'i> Settings<'a, 't, 'u, 'i> { let non_separator_tokens_updated = self.update_non_separator_tokens()?; let separator_tokens_updated = self.update_separator_tokens()?; let dictionary_updated = self.update_dictionary()?; - let synonyms_updated = self.update_synonyms()?; + self.update_synonyms()?; let searchable_updated = self.update_searchable()?; let exact_attributes_updated = self.update_exact_attributes()?; @@ -903,7 +903,7 @@ impl<'a, 't, 'u, 'i> Settings<'a, 't, 'u, 'i> { || separator_tokens_updated || dictionary_updated || faceted_updated - || synonyms_updated + // || synonyms_updated || searchable_updated || exact_attributes_updated {