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 2010/05/03 20:38:53 UTC

[Solr Wiki] Update of "SimpleFacetParameters" by HossMan

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 HossMan.
The comment on this change is: facet.date.include.
http://wiki.apache.org/solr/SimpleFacetParameters?action=diff&rev1=38&rev2=39

--------------------------------------------------

  This parameter can be specified on a per field basis.
  
  In addition to the {{{all}}} option, this parameter can be specified multiple times to indicate multiple choices -- but {{{none}}} will override all other options.
+ 
+ === facet.date.include ===
+ 
+ <!> [[Solr1.5]]
+ 
+ Be default, the ranges used to compute date faceting between facet.date.start and facet.date.end are all inclusive of both endpoints, while the the "before" and "after" ranges are not inclusive.  This behavior can be modified by the {{{facet.date.include}}} param, which can be any combination of the following options...
+ 
+    * {{{lower}}} = all gap based ranges include their lower bound
+    * {{{upper}}} = all gap based ranges include their upper bound
+    * {{{edge}}} = the first and last gap ranges include their edge bounds (ie: lower for the first one, upper for the last one) even if the corresponding upper/lower option is not specified
+    * {{{outer}}} = the "before" and "after" ranges will be inclusive of their bounds, even if the first or last ranges already include those boundaries.
+    * {{{all}}} = shorthand for lower, upper, edge, outer
+ 
+ This parameter can be specified on a per field basis.
+ 
+ This parameter can be specified multiple times to indicate multiple choices.
  
  == LocalParams for faceting ==
  <!> [[Solr1.4]]