From 8ae441a4dbcf18d8f5ddc2650e253a59488d3a67 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Wed, 1 Feb 2023 14:40:08 +0100 Subject: [PATCH] Update usage of iterators --- milli/src/search/criteria/asc_desc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/search/criteria/asc_desc.rs b/milli/src/search/criteria/asc_desc.rs index b5afe6778..ae43dd36a 100644 --- a/milli/src/search/criteria/asc_desc.rs +++ b/milli/src/search/criteria/asc_desc.rs @@ -219,7 +219,7 @@ fn facet_ordered_set_based<'t>( candidates, )?; - Ok(Box::new(number_iter.chain(string_iter))) + Ok(Box::new(number_iter.chain(string_iter).map(|res| res.map(|(doc_ids, _)| doc_ids)))) } /// Returns an iterator over groups of the given candidates in ascending or descending order.