mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-31 15:31:53 +08:00
Update usage of iterators
This commit is contained in:
parent
042d86cbb3
commit
8ae441a4db
@ -219,7 +219,7 @@ fn facet_ordered_set_based<'t>(
|
|||||||
candidates,
|
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.
|
/// Returns an iterator over groups of the given candidates in ascending or descending order.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user