Use Case : Records are more than 10000 with pagination

In My use case, We are implementing pagination with Elasticsearch. If the user clicks on any page number then he will get that set of records on UI.
e.g. there is page size is 10 and we click on Page number 2 then 11 to 20 records will be populated. Same way if we select any other page then that 10 record set will be populated.

So, Users can Navigate to any page at any time.

Please suggest a solution to achieve this scenario.


Take a look at search_after Paginate search results | Elasticsearch Guide [7.17] | Elastic

That said, I would in general refrain from offering such functionality on a public website... every spider will make use of that :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.