Fix bug in facet range search

This commit is contained in:
Loïc Lecrenier
2022-12-07 12:07:26 +01:00
parent 303d740245
commit 1c9555566e
13 changed files with 14 additions and 14 deletions

View File

@ -239,8 +239,8 @@ impl<'t, 'b, 'bitmap> FacetRangeSearch<'t, 'b, 'bitmap> {
// element from the previous key or its successors
let should_stop = {
match self.right {
Bound::Included(right) => right <= previous_key.left_bound,
Bound::Excluded(right) => right < previous_key.left_bound,
Bound::Included(right) => right < previous_key.left_bound,
Bound::Excluded(right) => right <= previous_key.left_bound,
Bound::Unbounded => false,
}
};