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 2011/02/24 23:42:07 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 "SimpleFacetParameters" page has been changed by YonikSeeley.
The comment on this change is: make docs more relevant to current developers.
http://wiki.apache.org/solr/SimpleFacetParameters?action=diff&rev1=57&rev2=58
--------------------------------------------------
This param determines the ordering of the facet field constraints.
- * {{{true}}} - sort the constraints by count (highest count first)
+ * {{{count}}} - sort the constraints by count (highest count first)
- * {{{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.
+ * {{{index}}} - 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 {{{index}}} for sorting by index order.
-
- The default is {{{true}}}/{{{count}}} if facet.limit is greater than 0, {{{false}}}/{{{index}}} otherwise.
+ The default is {{{count}}} if facet.limit is greater than 0, {{{index}}} otherwise.
+
+ Prior to [[Solr1.4]], one needed to use {{{true}}} instead of {{{count}}} and {{{false}}} instead of {{{index}}}.
This parameter can be specified on a per field basis.