Disable pagination


(Jyr Gaxiola) #1

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.
To view this discussion on the web visit 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.


(Binh Ly-2) #2

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

--
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.
To view this discussion on the web visit 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.


(system) #3