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.