: 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
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
: 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
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