# Nested inner\_hits more than 100 results

**URL:** <https://discuss.elastic.co/t/nested-inner-hits-more-than-100-results/348562>\
**Category:** Elasticsearch\
**Created:** [December 4, 2023, 1:41pm UTC](https://discuss.elastic.co/t/nested-inner-hits-more-than-100-results/348562 "2023-12-04T13:41:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinicius\_Junges](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinicius_junges/32/124809_2.png) [@Vinicius\_Junges](https://discuss.elastic.co/u/Vinicius_Junges)\
**Post date:** [December 4, 2023, 1:41pm UTC](https://discuss.elastic.co/t/nested-inner-hits-more-than-100-results/348562/1 "2023-12-04T13:41:52Z")

</div>

Hey guys. I don't know if I'm in the right place, is my first time here. I'm doing a nested query with inner\_hits, but the elasticsearch configuration is limited to 100 by default. Is there any way to get more than 100 results in inner\_hits, without changing index.max\_inner\_result\_window?

Initially my:

```auto
"inner_hits": {
  "name": "content",
  "from": 0,
  "size": 100
}

```

and then I tried to increment:

```auto
"inner_hits": {
  "name": "content",
  "from": 100,
  "size": 200
}

```

but diz generate a error: Inner result window is too large, the inner hit definition's [content]'s from + size must be less than or equal to: [100] but was [200]

---

<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 1, 2024, 1:42pm UTC](https://discuss.elastic.co/t/nested-inner-hits-more-than-100-results/348562/2 "2024-01-01T13:42:28Z")

</div>

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