From 55de96f74e8e5965679f604de75290c48e8645c6 Mon Sep 17 00:00:00 2001 From: Many the fish Date: Tue, 13 Feb 2024 14:22:10 +0100 Subject: [PATCH] Update milli/src/update/facet/mod.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Renault --- milli/src/update/facet/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/update/facet/mod.rs b/milli/src/update/facet/mod.rs index ad84e9cc3..ef40e3469 100644 --- a/milli/src/update/facet/mod.rs +++ b/milli/src/update/facet/mod.rs @@ -202,7 +202,7 @@ impl<'i> FacetsUpdate<'i> { let key = FacetGroupKey { field_id, level: 0, left_bound: facet.as_str() }; // Check if the referenced value doesn't exist anymore before deleting it. - if self.index.facet_id_string_docids.get(wtxn, &key)?.is_none() { + if self.index.facet_id_string_docids.get(wtxn, &key)?.remap_data::().is_none() { set.insert(facet); } }