# Can i change the value of index.max\_result\_window from 10000 to 100000 ? as it is not allowing to retrieve 10001 record through pagination

**URL:** <https://discuss.elastic.co/t/can-i-change-the-value-of-index-max-result-window-from-10000-to-100000-as-it-is-not-allowing-to-retrieve-10001-record-through-pagination/70035>\
**Category:** Elasticsearch\
**Created:** [December 27, 2016, 5:32am UTC](https://discuss.elastic.co/t/can-i-change-the-value-of-index-max-result-window-from-10000-to-100000-as-it-is-not-allowing-to-retrieve-10001-record-through-pagination/70035 "2016-12-27T05:32:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magapu\_Tatarao](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Magapu\_Tatarao](https://discuss.elastic.co/u/Magapu_Tatarao)\
**Post date:** [December 27, 2016, 5:32am UTC](https://discuss.elastic.co/t/can-i-change-the-value-of-index-max-result-window-from-10000-to-100000-as-it-is-not-allowing-to-retrieve-10001-record-through-pagination/70035/1 "2016-12-27T05:32:40Z")

</div>

can i change the value of index.max\_result\_window from 10000 to 100000 ?  
as it is not allowing to retrieve 10001 record through pagination.  
because my results page having max up to 100000 documents can i set "max\_result\_window " to 1 lakh  
if yes how can i set.

please help me in this

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 27, 2016, 5:34am UTC](https://discuss.elastic.co/t/can-i-change-the-value-of-index-max-result-window-from-10000-to-100000-as-it-is-not-allowing-to-retrieve-10001-record-through-pagination/70035/2 "2016-12-27T05:34:57Z")

</div>

You may want to read [https://www.elastic.co/guide/en/elasticsearch/reference/5.1/search-request-from-size.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.1/search-request-from-size.html).

---

<div class="post-metadata">

**Author:** ![Magapu\_Tatarao](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Magapu\_Tatarao](https://discuss.elastic.co/u/Magapu_Tatarao)\
**Post date:** [December 27, 2016, 5:43am UTC](https://discuss.elastic.co/t/can-i-change-the-value-of-index-max-result-window-from-10000-to-100000-as-it-is-not-allowing-to-retrieve-10001-record-through-pagination/70035/3 "2016-12-27T05:43:45Z")

</div>

@warkolm,  
Thanks for your reply. i have gone through the provided link. i have implemented my logic with function scoring and results with pagination using "from ". my search results contains maximum of 1 lakh documents can i modify the value of index.max\_result\_window. is there any problem with that change please let me know

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 27, 2016, 5:44am UTC](https://discuss.elastic.co/t/can-i-change-the-value-of-index-max-result-window-from-10000-to-100000-as-it-is-not-allowing-to-retrieve-10001-record-through-pagination/70035/4 "2016-12-27T05:44:43Z")

</div>

Search for it in the docs, you'll see it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 24, 2017, 5:44am UTC](https://discuss.elastic.co/t/can-i-change-the-value-of-index-max-result-window-from-10000-to-100000-as-it-is-not-allowing-to-retrieve-10001-record-through-pagination/70035/5 "2017-01-24T05:44:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
