# Set size to get all document data

**URL:** <https://discuss.elastic.co/t/set-size-to-get-all-document-data/5404>\
**Category:** Elasticsearch\
**Created:** [September 19, 2011, 11:09am UTC](https://discuss.elastic.co/t/set-size-to-get-all-document-data/5404 "2011-09-19T11:09:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![harshyadav](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@harshyadav](https://discuss.elastic.co/u/harshyadav)\
**Post date:** [September 19, 2011, 11:09am UTC](https://discuss.elastic.co/t/set-size-to-get-all-document-data/5404/1 "2011-09-19T11:09:13Z")

</div>

I am new in elasticsearch , size parameter by default give only 10  
records.To get more record i have give value to size parameter.  
I want that only single time set size parameter and it give you all  
document in single request.  
Please help me.  
Regards:  
Harry

---

<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:** [September 19, 2011, 8:15pm UTC](https://discuss.elastic.co/t/set-size-to-get-all-document-data/5404/2 "2011-09-19T20:15:23Z")

</div>

Hi,

What about :  
[http://www.elasticsearch.org/guide/reference/api/search/search-type.html](http://www.elasticsearch.org/guide/reference/api/search/search-type.html) ?  
Look at Scan at the bottom.

HTH  
David.

-----Message d'origine-----  
De : [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com) [[mailto:elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)]  
De la part de harry  
Envoyé : lundi 19 septembre 2011 13:09  
À : elasticsearch  
Cc : [harsh.mca9@gmail.com](mailto:harsh.mca9@gmail.com)  
Objet : Set size to get all document data

I am new in elasticsearch , size parameter by default give only 10  
records.To get more record i have give value to size parameter.  
I want that only single time set size parameter and it give you all  
document in single request.  
Please help me.  
Regards:  
Harry

---

<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:** [July 6, 2017, 3:54am UTC](https://discuss.elastic.co/t/set-size-to-get-all-document-data/5404/3 "2017-07-06T03:54:07Z")

</div>


