Re: Date Range Facet sort order

2023-04-17 Thread Chris Hostetter
: Still one question, is there a way to change the sort order for date : range facets? Or do I do that on my end? There are some cases where I : want to see results in count order, other cases where I want to see : results sort on the button range. There is no server side option to change the

Re: Date Range Facet sort order

2023-04-05 Thread Thomas Redman
Yes indeed, my bad, I didn’t describe this correctly… at all. Still one question, is there a way to change the sort order for date range facets? Or do I do that on my end? There are some cases where I want to see results in count order, other cases where I want to see results sort on the butto

Re: Date Range Facet sort order

2023-04-04 Thread Chris Hostetter
: I see no way to change the sort order to index (I want the output in : date order), I get results sorted on the count. I have tried adding the : sort field like so: This ... doesn't make sense. AFAIK "index" order (or more specifically: The "natural order" of the bucket values) is the on

Date Range Facet sort order

2023-04-04 Thread Thomas Redman
I am using the SolrJ Json facet API to retrieve a facet on a range of date. DateFacet df = (DateFacet)f; RangeFacetMap rfm = new RangeFacetMap(df.getField(), df.getStartDate(), df.getEndDate(), df.getSpan().getKeyword()) .setMinCount