Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch 2.11.0
Describe the issue:
When I use the following payload:
payload = {
“size”: size,
}
for a scroll query results are returned (/_search?scroll). However when I add one filter, no results are returned
payload = {
“size”: size,
“query”: {
“bool”: {
“filter”: [
{ “range”: { “date”: { “gte”: time_boundary }}}
]
}
}
}
I tested this filter out with a standard non-scrolling search, and it works. It doesn’t work with a scroll search, I think the scroll search is bugged where it can’t work with filters.