From e064c52544e97dbad7bc43732fc5301db6ea1988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 9 Mar 2023 13:05:54 +0100 Subject: [PATCH] Rename an internal facet deletion method --- milli/src/update/delete_documents.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/milli/src/update/delete_documents.rs b/milli/src/update/delete_documents.rs index 7180d7d42..bb232d7cc 100644 --- a/milli/src/update/delete_documents.rs +++ b/milli/src/update/delete_documents.rs @@ -518,14 +518,14 @@ impl<'t, 'u, 'i> DeleteDocuments<'t, 'u, 'i> { drop(iter); // We delete the documents ids that are under the facet field id values. - remove_docids_from_facet_id_exists_docids( + remove_docids_from_facet_id_docids( self.wtxn, facet_id_exists_docids, &self.to_delete_docids, )?; // We delete the documents ids that are under the facet field id values. - remove_docids_from_facet_id_exists_docids( + remove_docids_from_facet_id_docids( self.wtxn, facet_id_is_null_docids, &self.to_delete_docids, @@ -633,7 +633,7 @@ fn remove_docids_from_field_id_docid_facet_value( Ok(all_affected_facet_values) } -fn remove_docids_from_facet_id_exists_docids<'a, C>( +fn remove_docids_from_facet_id_docids<'a, C>( wtxn: &'a mut heed::RwTxn, db: &heed::Database, to_remove: &RoaringBitmap,