Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by HossMan: http://wiki.apache.org/solr/SimpleFacetParameters The comment on the change is: try to reduce confusion about facet.sort ------------------------------------------------------------------------------ === facet.sort === - You can set this parameter to "count" to sort the facets by count (highest count first) or "lex" to return the facets sorted in lexicographic order. The default is "count". + This param determines the ordering of the facet field constraints. - This parameter can be specified on a per field basis. + * {{{true}}} - sort the constraints by count (highest count first) + * {{{false}}} - to return the constraints sorted in their natural lexicographic order. For terms in the ascii range, this will be alphabetically sorted. - <!> These parameter values are currently only available in the SVN version of Solr. The old values for the parameters are documented below. + <!> ["Solr1.4"] -- the true/false values have been deprecated starting with Solr 1.4, instead use {{{count}}} for sorting by count, and {{{lex}}} for sorting lexicographically. - <!> ["Solr1.3"] - Set to "true", this parameter indicates that constraints should be sorted by their count. - If "false", facets will be in their natural index order (unicode). For terms in the ascii range, this will be alphabetically sorted. - The default is true if facet.limit is greater than 0, false otherwise. + The default is {{{true}}}/{{{count}}} if facet.limit is greater than 0, {{{false}}}/{{{lex}}} otherwise. + + This parameter can be specified on a per field basis. === facet.limit ===
