From 6fa877efb03e0532bcddd04c95821b835cf3996c Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Mon, 13 Feb 2023 17:49:52 +0100 Subject: [PATCH] Fix attributes set candidates --- milli/src/search/criteria/attribute.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()), }));