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); } }