# Hot to get all results in the Dev Tools

**URL:** <https://discuss.elastic.co/t/hot-to-get-all-results-in-the-dev-tools/296178>\
**Category:** Elasticsearch\
**Created:** [February 3, 2022, 10:59am UTC](https://discuss.elastic.co/t/hot-to-get-all-results-in-the-dev-tools/296178 "2022-02-03T10:59:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShayWeizman](https://avatars.discourse-cdn.com/v4/letter/s/7feea3/32.png) [@ShayWeizman](https://discuss.elastic.co/u/ShayWeizman)\
**Post date:** [February 3, 2022, 10:59am UTC](https://discuss.elastic.co/t/hot-to-get-all-results-in-the-dev-tools/296178/1 "2022-02-03T10:59:02Z")

</div>

Hi All,

I'm using 7.16.2,

When I run query in the dev tools I get only 10 first results... How can I get all the query results?

Thanks,  
Shay

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 3, 2022, 11:05am UTC](https://discuss.elastic.co/t/hot-to-get-all-results-in-the-dev-tools/296178/2 "2022-02-03T11:05:10Z")

</div>

set size parameter of the query.

> **[Paginate search results | Elasticsearch Guide \[7.17\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/paginate-search-results.html)**

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 3, 2022, 11:14am UTC](https://discuss.elastic.co/t/hot-to-get-all-results-in-the-dev-tools/296178/3 "2022-02-03T11:14:55Z")

</div>

You can use:

- the [`size` and `from` parameters](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html) 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).
- the [search after](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-search-after.html) feature to do deep pagination.
- the [Scroll API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html) if you want to extract a resultset to be consumed by another tool later. (Not recommended anymore)

---

<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:** [March 3, 2022, 11:15am UTC](https://discuss.elastic.co/t/hot-to-get-all-results-in-the-dev-tools/296178/4 "2022-03-03T11:15:38Z")

</div>

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