# Disable pagination

**URL:** https://discuss.elastic.co/t/disable-pagination/16119
**Category:** Elasticsearch
**Created:** [March 3, 2014, 9:09pm UTC](https://discuss.elastic.co/t/disable-pagination/16119 "2014-03-03T21:09:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jyr\_Gaxiola](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jyr_gaxiola/32/1760_2.png) [@Jyr\_Gaxiola](https://discuss.elastic.co/u/Jyr_Gaxiola)
#### Post date: [March 3, 2014, 9:09pm UTC](https://discuss.elastic.co/t/disable-pagination/16119/1 "2014-03-03T21:09:51Z")

</div>

Hi there!

I want to get all ids from a search, but I have the pagination enable by  
default with items per page: 10. Example: The search return 100 rows (10  
per page), so, I want to get 100 ids I don't want 10 ids , How can I get  
all ids?

Thanks a lot.

Jyr.  
Best

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ac990360-6ab7-4838-9153-da5e5a91fe6b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ac990360-6ab7-4838-9153-da5e5a91fe6b%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)
#### Post date: [March 3, 2014, 10:05pm UTC](https://discuss.elastic.co/t/disable-pagination/16119/2 "2014-03-03T22:05:20Z")

</div>

Not sure I understand 100%, but you can use the from and size parameters to  
ask ES where to start from and how many to return:

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-from-size.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-from-size.html)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/cb76c7f7-0250-42f5-b5eb-7feac5a0f061%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cb76c7f7-0250-42f5-b5eb-7feac5a0f061%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:46am UTC](https://discuss.elastic.co/t/disable-pagination/16119/3 "2017-07-06T01:46:00Z")

</div>


