Skip to content

Commit

Permalink
Update milli/src/update/facet/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Renault <clement@meilisearch.com>
  • Loading branch information
ManyTheFish and Kerollmops committed Feb 13, 2024
1 parent 39c83cb commit 55de96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion milli/src/update/facet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<DecodeIgnore>().is_none() {
set.insert(facet);
}
}
Expand Down

0 comments on commit 55de96f

Please sign in to comment.