Hello, I'd like to limit my query results to the first 500 documents and use the pagination (for instance from=0&size=30).
My use case :
- I want to hide the total of documents
- I don't use yet any relevancy aggs (scoring )
- The results are handle by an API (api-platform with a Paginator).
terminate_after did the trick but it's not the right to do that apparently. I have some wrong results when I sort.
Do you have an advice to handle that ?
Do I have to do it with a size of 500 doc and handle the pagination in my app (php in my case) ?