I'm implementing a pagenation with an ElasticSearch over 10,000 documents.
It is possible to bring the search results before and after the search by after_search.
But I would like to create a function to bring from a specific point like from - to usage under 10,000 documents.
Not sure I understand the problem. If you have less than 10000 documents, you can use:
the size and from parameters to display by default up to 10000 records to your users. If you want to change this limit, you can change index.max_result_window setting but be aware of the consequences (ie memory).
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.