Welcome
Have a look at The search API | Elasticsearch Guide [8.11] | Elastic
About deep pagination, you can use:
- the
sizeandfromparameters to display by default up to 10000 records to your users. If you want to change this limit, you can changeindex.max_result_windowsetting but be aware of the consequences (ie memory). - the search after feature to do deep pagination.
- the Scroll API if you want to extract a resultset to be consumed by another tool later. (Not recommended anymore)
Note that from a end user perspective, going randomly to page 1076 (for example) does not make really sense IMO.
What is your use case?