# Get query is showing only 10 results while searching for a particular data

**URL:** <https://discuss.elastic.co/t/get-query-is-showing-only-10-results-while-searching-for-a-particular-data/88187>\
**Category:** Elasticsearch\
**Created:** [June 4, 2017, 12:36pm UTC](https://discuss.elastic.co/t/get-query-is-showing-only-10-results-while-searching-for-a-particular-data/88187 "2017-06-04T12:36:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ogtool](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ogtool/32/18767_2.png) [@ogtool](https://discuss.elastic.co/u/ogtool)\
**Post date:** [June 4, 2017, 5:44pm UTC](https://discuss.elastic.co/t/get-query-is-showing-only-10-results-while-searching-for-a-particular-data/88187/2 "2017-06-04T17:44:38Z")

</div>

The default size parameter (number of records actually returned) is 10 - [https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html)

If you change your query to GET exchangemails/email/\_search?\_source=sender&size=50 then you'll get 50 records.

/exchangemails/email/\_search?\_source=sender&from=50&size=50 will then get the next "page" of results.

The max supported value for size is 10,000, and while this can be changed system wide, utilizing scroll ([https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html)) or search after ([https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-search-after.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-search-after.html)) are generally accepted as better solutions

---

_[View the full topic](https://discuss.elastic.co/t/get-query-is-showing-only-10-results-while-searching-for-a-particular-data/88187)._
