Looking carefully at the documentation for JSON facets, it looks as though
the offset parameter is not supported for range facets, only for term
facets. You'd have to do pagination in your application.
-Simon
On Tue, Jul 10, 2018 at 11:45 AM, Anil wrote:
> HI Eric,
>
> i mean pagination is off
HI Eric,
i mean pagination is offset and limit for facet results. Basically i am
trying to sort the daily totals (from json facet field) and apply offset,
limit to the buckets.
json.facet=
{
daily_totals: {
type: range,
field: daily_window,
start : "2017-11-01T00:00:00
What exactly do you mean by "pagination" here? Facets are computed over
the entire result set. That is, if the number of documents found for the query
is 1,000,000, the facets are returned counted over all 1M docs, even if your
rows parameter is 10. The same numbers will be returned for facets
rega