diff --git a/milli/src/update/clear_documents.rs b/milli/src/update/clear_documents.rs index adeea11fa..0296bc192 100644 --- a/milli/src/update/clear_documents.rs +++ b/milli/src/update/clear_documents.rs @@ -30,6 +30,7 @@ impl<'t, 'u, 'i> ClearDocuments<'t, 'u, 'i> { word_position_docids, field_id_word_count_docids, word_prefix_position_docids, + script_language_docids, facet_id_f64_docids, facet_id_string_docids, facet_id_exists_docids, @@ -82,6 +83,7 @@ impl<'t, 'u, 'i> ClearDocuments<'t, 'u, 'i> { word_position_docids.clear(self.wtxn)?; field_id_word_count_docids.clear(self.wtxn)?; word_prefix_position_docids.clear(self.wtxn)?; + script_language_docids.clear(self.wtxn)?; facet_id_f64_docids.clear(self.wtxn)?; facet_id_exists_docids.clear(self.wtxn)?; facet_id_string_docids.clear(self.wtxn)?; diff --git a/milli/src/update/delete_documents.rs b/milli/src/update/delete_documents.rs index f4a6d396e..d4fff68c2 100644 --- a/milli/src/update/delete_documents.rs +++ b/milli/src/update/delete_documents.rs @@ -243,6 +243,7 @@ impl<'t, 'u, 'i> DeleteDocuments<'t, 'u, 'i> { facet_id_string_docids: _, field_id_docid_facet_f64s: _, field_id_docid_facet_strings: _, + script_language_docids, facet_id_exists_docids, documents, } = self.index;