Description
Pagination for agent is broken after 10k (or whatever the index.max_result_window setting is for the cluster) agents. Elasticsearch offers various ways to paginate search results, can we use one of them to improve this experience?: https://www.elastic.co/guide/en/elasticsearch/reference/current/paginate-search-results.html
Tasks
How to reproduce
enroll 10k agents try to navigate to the last page of the agent listing

the details of the error
Result window is too large, from + size must be less than or equal to: [10000] but was [10260]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting.
Description
Pagination for agent is broken after 10k (or whatever the index.max_result_window setting is for the cluster) agents. Elasticsearch offers various ways to paginate search results, can we use one of them to improve this experience?: https://www.elastic.co/guide/en/elasticsearch/reference/current/paginate-search-results.html
Tasks
How to reproduce
enroll 10k agents try to navigate to the last page of the agent listing
the details of the error