Closed annelhote closed 1 year ago
The current best option seems to be search_after
This issue is stale because it has been open for 40 days with no activity.
After careful consideration, we decided not to implement the search_after parameter.
Even it allows to search above 10,000 results, it would have forced us to remove important features, such as:
Describe the bug On a project with more than 10,000 documents, I can't see search results after the 9,999th.
To Reproduce Steps to reproduce the behavior:
Expected behavior I would like to see the next results
Additional context The HTTP request to the API get an 500 error with message "java.lang.IllegalStateException: Unable to apply route". While trying to reproduce the ES query I get this error message :
We'd better use the scroll API instead of this
from
andsize
query.