TP
01/22/2024, 3:39 AM{
"ranges": [
{
"min": 0,
"max": 10
},
{
"min": 20,
"max": 50
}
]
}
If I use my initial example of 15..19 (no match), what I’m trying to achieve is checking that either one of 15 or 19 is within one of the document intervals.
"filter_by": "(ranges.min:<11 && ranges.max:>11) || (ranges.min:<19 && ranges.max:>19)"
but the reduce should happen item by item instead of being on the already reduced arrays of the mins and the maxs.