Re: Sorting and pagination in Solr json range facet

2018-07-11 Thread simon
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

Re: Sorting and pagination in Solr json range facet

2018-07-10 Thread Anil
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

Re: Sorting and pagination in Solr json range facet

2018-07-10 Thread Erick Erickson
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

Sorting and pagination in Solr json range facet

2018-07-10 Thread Anil
Hi, Good Morning. I am trying solr json facet features. sort, offset, limit fields are not working for Range facet. and could not find the support in the documentation. is there any way to achieve sort and pagination for Range facet ? please help. Documentation of range facet says - Parameters