You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/03/01 17:36:13 UTC
[Solr Wiki] Update of "SimpleFacetParameters" by YonikSeeley
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 YonikSeeley:
http://wiki.apache.org/solr/SimpleFacetParameters
------------------------------------------------------------------------------
This param determines the ordering of the facet field constraints.
* {{{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.
+ * {{{false}}} - to return the constraints sorted in their index order (lexicographic by indexed term) . For terms in the ascii range, this will be alphabetically sorted.
- <!> ["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.4"] -- the true/false values have been deprecated starting with Solr 1.4, instead use {{{count}}} for sorting by count, and {{{index}}} for sorting by index order.
- The default is {{{true}}}/{{{count}}} if facet.limit is greater than 0, {{{false}}}/{{{lex}}} otherwise.
+ The default is {{{true}}}/{{{count}}} if facet.limit is greater than 0, {{{false}}}/{{{index}}} otherwise.
This parameter can be specified on a per field basis.