From 96331c844d683aa9ff6db19550a5c96c63070564 Mon Sep 17 00:00:00 2001 From: Many the fish Date: Mon, 13 Feb 2023 17:57:45 +0100 Subject: [PATCH] Fix attributes set candidates fixes https://github.com/meilisearch/meilisearch/issues/3483 for v1.0.1 --- 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()), }));