I have a simple ordered facet search, and it works fine. The result is
ordered by counts. I can set size of the result, but if I want to get a
next chunk of the counts, how could I get it?
Here is my code:
SearchResponse response = clientProvider.getClient()
.addFacet( FacetBuilders.termsFacet("myStat") .field("myField") .order(ComparatorType.COUNT) .size(30) .facetFilter(FilterBuilders.rangeFilter("sequence")
.setTypes("myType") .execute() .actionGet();
So, I need something like setFrom() which we have for queries, but I need
it for facet search, and it doesn't look like we have it.
Could you please help me out here?