Update milli/src/search/criteria/mod.rs

Co-authored-by: Irevoire <tamo@meilisearch.com>
This commit is contained in:
Many 2021-04-26 14:51:52 +02:00 committed by many
parent 0daa0e170a
commit 47d780b8ce
No known key found for this signature in database
GPG Key ID: 2CEF23B75189EACA

View File

@ -130,7 +130,7 @@ impl<'c> Context<'c> for CriteriaBuilder<'c> {
in_prefix_cache: bool,
left: Option<u32>,
right: Option<u32>
) -> heed::Result<Box<dyn Iterator<Item =heed::Result<((&'c str, TreeLevel, u32, u32), RoaringBitmap)>> + 'c>>
) -> heed::Result<Box<dyn Iterator<Item = heed::Result<((&'c str, TreeLevel, u32, u32), RoaringBitmap)>> + 'c>>
{
let range = {
let left = left.unwrap_or(u32::min_value());