How to make pagination work in Datatables using Elasticsearch on the server-side?


(Johnjullies) #1

I'm using Datatables.net with Elasticsearch as a server because I'm working with large data.

I have successfully populated the table but I'm having trouble making the pagination work. It currently shows same data on all pages of the table and only shows the first 10 items. I think this is related to the default limit of elasticsearch to only show the first 10 items.


(Lee Hinman) #2

Unfortunately there's not much we can do to support that, pagination in ES works fine with the from and size parameters, so it sounds like something on the datatables configuration side?


(system) #3