Facets pagination


(elasticsearch_noob) #1

Dear all,

could you please give me a hint on how one could implement the pagination
for facets?

Say we had a facet that contains a terms facet and say we get the N most
frequent terms, how one could have the the N most frequent terms, but also
be able to have the next functionality, or the least occurred N values via
a last link, in general all that pagination has to offer?

thank you in advance

--
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/598c3062-d464-4e89-922c-6d45c3067051%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Binh Ly-2) #2

Unfortunately, paging is not available for the terms facet. You certainly
can ask for all the terms in the terms facet using all_terms: true, but
you'd still have to page it out yourself in your application.

--
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/b00314a2-d5e6-47bb-a4f9-1f7c4feac64f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3