# Increasing limit on inner hits

**URL:** <https://discuss.elastic.co/t/increasing-limit-on-inner-hits/128943>\
**Category:** Elasticsearch\
**Created:** [April 20, 2018, 11:18pm UTC](https://discuss.elastic.co/t/increasing-limit-on-inner-hits/128943 "2018-04-20T23:18:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijay\_arora1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vijay_arora1/32/13789_2.png) [@Vijay\_arora1](https://discuss.elastic.co/u/Vijay_arora1)\
**Post date:** [April 20, 2018, 11:18pm UTC](https://discuss.elastic.co/t/increasing-limit-on-inner-hits/128943/1 "2018-04-20T23:18:42Z")

</div>

I want to get the filtered list of nested documents, so i started working with inner\_hits, which allows to get the filtered nested items. However the inner hits has a size constraint of 100.  
I have more than 100 items per nested object.  
Is there a way to increase the inner hits limit or write another query which would return me the filtered list of nested objects.

Thanks  
Vijay

---

<div class="post-metadata">

**Author:** ![Vijay\_arora1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vijay_arora1/32/13789_2.png) [@Vijay\_arora1](https://discuss.elastic.co/u/Vijay_arora1)\
**Post date:** [April 21, 2018, 6:11pm UTC](https://discuss.elastic.co/t/increasing-limit-on-inner-hits/128943/2 "2018-04-21T18:11:35Z")

</div>

I found the answer:  
This limit can be set by changing the [index.max\_inner\_result\_window] index level setting.

---

<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:** [May 19, 2018, 6:11pm UTC](https://discuss.elastic.co/t/increasing-limit-on-inner-hits/128943/3 "2018-05-19T18:11:49Z")

</div>

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