faceted_navigation.date.sort_mode
(deprecated) Specify how to sort date based facets.
Key: faceted_navigation.date.sort_mode
Type: String
Can be set in: collection.cfg
Description
Warning, this option is deprecated. Instead use the sorting that is built into faceted navigation. This
option will only work when the facet is configured as a LEGACY
facet.
This option specifies how to sort categories in a date based facet. It's only effective with the modern UI. Possible values are:
count
Sort by number of documents, descending
adate
Sort by date, ascending
ddate
Sort by date, descending
When sorting by date is enabled, special categories like Past 6 weeks or Next year will always be displayed before specific years like 2013.
Default Value
Categories are sorted by descending number of documents:
faceted_navigation.date.sort_mode=count
Examples
Sort by descending date:
faceted_navigation.date.sort_mode=ddate