mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
Fix bug in facet range search
This commit is contained in:
parent
303d740245
commit
1c9555566e
@ -239,8 +239,8 @@ impl<'t, 'b, 'bitmap> FacetRangeSearch<'t, 'b, 'bitmap> {
|
|||||||
// element from the previous key or its successors
|
// element from the previous key or its successors
|
||||||
let should_stop = {
|
let should_stop = {
|
||||||
match self.right {
|
match self.right {
|
||||||
Bound::Included(right) => right <= previous_key.left_bound,
|
Bound::Included(right) => right < previous_key.left_bound,
|
||||||
Bound::Excluded(right) => right < previous_key.left_bound,
|
Bound::Excluded(right) => right <= previous_key.left_bound,
|
||||||
Bound::Unbounded => false,
|
Bound::Unbounded => false,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
a50f49405717ef9f08829ff742d51cbb
|
73b48005dc57b04f0939bbf21a68dab6
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
3a5954e37c6f575b88026179c466c4b7
|
3c23d35627667dcee98468bfdecf09d3
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
a50f49405717ef9f08829ff742d51cbb
|
73b48005dc57b04f0939bbf21a68dab6
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
3a5954e37c6f575b88026179c466c4b7
|
3c23d35627667dcee98468bfdecf09d3
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
d53339a9ec9edf5d9b5e0e1d665c4a34
|
2049930204498b323885c91de88e44ca
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
a1806ad3f0dfd826e7645107ba413b1d
|
7f0ca8c0fc6494f3dba46e8eb9699045
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
d53339a9ec9edf5d9b5e0e1d665c4a34
|
2049930204498b323885c91de88e44ca
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
a1806ad3f0dfd826e7645107ba413b1d
|
7f0ca8c0fc6494f3dba46e8eb9699045
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
b41507892dd4468a821a4da411ef1d9d
|
ad8fc873747aaf1d3590e7ccab735985
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
3b78bbb7a06c258a52afb332a04c7838
|
7c6cc88697da835d33877b2df41fa1cb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
b41507892dd4468a821a4da411ef1d9d
|
ad8fc873747aaf1d3590e7ccab735985
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/search/facet/facet_range_search.rs
|
source: milli/src/search/facet/facet_range_search.rs
|
||||||
---
|
---
|
||||||
3b78bbb7a06c258a52afb332a04c7838
|
7c6cc88697da835d33877b2df41fa1cb
|
||||||
|
Loading…
Reference in New Issue
Block a user