I have this api search (ES 7.10.2)
https://host:19102/myindex/cat/_search?filter_path=hits.total
that returns
{
"hits": {
"total": {
"value": 10000,
"relation": "gte"
}
}
}
Ok, I hit he 10.000 mark.
When using this call
https://host:19102/myindex/cat/_search?scroll=1m&filter_path=hits.total
I get
{
"hits": {
"total": {
"value": 23012,
"relation": "eq"
}
}
}
That is what I want, the total with one call.
But why ES isn't applying the 10.000 limit when I want to scroll anyway ?
Or is there another limit for scrolling ?
What are the drawbacks always using scroll ?