How to increase the default size limit from 10000 to 1000000 in ElasticSearch

Hi Somnath,

Thank you very much for your response.

Yes, I do agree with you comments and I have done the pagination on the web application, but we have a requirement where we pull certain amount of records like 1Million from ElasticSearch and send that data as an attachment in the email. So, in that case, I won't be able to do the pagination right, that's the reason why I had to increase the default max limit.

So, say if I increase the limit, will that impact all the searches even though we are use the pagination like from=&size=

Hope you understood my problem.

Thanks.
Chandra