Deep pagination is a very bad idea and this safeguard exists to help protect your cluster from very heavy requests that can destabilise or bring it down completely. Please read this page of the documentation to help understand why doing this is a bad idea: https://www.elastic.co/guide/en/elasticsearch/guide/2.x/pagination.html
Why are you wanting to retrieve 2147483647 results from Elasticsearch? Could you explain your use case for doing this request? Then we might be able to offer some alternative ideas on what features of Elasticsearch you should use instead or on a different approach to solve your use case.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.