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 2008/03/03 19:13:27 UTC
[Solr Wiki] Update of "SimpleFacetParameters" by GrantIngersoll
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 GrantIngersoll:
http://wiki.apache.org/solr/SimpleFacetParameters
------------------------------------------------------------------------------
== Date Faceting Parameters ==
- Several params can be used to trigger faceting based on Date ranges computed using simple DateMathParser expressions.
+ Several params can be used to trigger faceting based on Date ranges computed using simple [http://lucene.apache.org/solr/api/org/apache/solr/util/DateMathParser.html DateMathParser] expressions.
When using Date Faceting, the {{{facet.date}}}, {{{facet.date.start}}}, {{{facet.date.end}}}, and {{{facet.date.gap}}} params are all mandatory...
@@ -126, +126 @@
=== facet.date.start ===
- The lower bound for the first date range for all Date Faceting on this field. This should be a single date expression which may use the DateMathParser syntax.
+ The lower bound for the first date range for all Date Faceting on this field. This should be a single date expression which may use the [http://lucene.apache.org/solr/api/org/apache/solr/util/DateMathParser.html DateMathParser] syntax.
This parameter can be specified on a per field basis.
=== facet.date.end ===
- The minimum upper bound for the last date range for all Date Faceting on this field (see {{{facet.date.hardend}}} for an explanation of what the actual end value may be greater). This should be a single date expression which may use the DateMathParser syntax.
+ The minimum upper bound for the last date range for all Date Faceting on this field (see {{{facet.date.hardend}}} for an explanation of what the actual end value may be greater). This should be a single date expression which may use the [http://lucene.apache.org/solr/api/org/apache/solr/util/DateMathParser.html DateMathParser] syntax.
This parameter can be specified on a per field basis.
=== facet.date.gap ===
- The size of each date range expressed as an interval to be added to the lower bound using the DateMathParser syntax.
+ The size of each date range expressed as an interval to be added to the lower bound using the [http://lucene.apache.org/solr/api/org/apache/solr/util/DateMathParser.html DateMathParser] syntax.
Example: {{{facet.date.gap=%2B1DAY}}} (+1DAY)