diff --git a/milli/src/search/criteria/attribute.rs b/milli/src/search/criteria/attribute.rs index d7ec0d382..5b33fdf54 100644 --- a/milli/src/search/criteria/attribute.rs +++ b/milli/src/search/criteria/attribute.rs @@ -123,7 +123,7 @@ impl<'t> Criterion for Attribute<'t> { None => { return Ok(Some(CriterionResult { query_tree: Some(query_tree), - candidates: Some(RoaringBitmap::new()), + candidates: Some(allowed_candidates), filtered_candidates: None, initial_candidates: Some(self.initial_candidates.take()), }));