lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SimpleFacetParameters" by GrantIngersoll
Date Wed, 11 Aug 2010 16:58:48 GMT
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 GrantIngersoll.
http://wiki.apache.org/solr/SimpleFacetParameters?action=diff&rev1=43&rev2=44

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

  The size of each range expressed.
  
  This parameter can be specified on a per field basis.
+ 
+ === facet.range.hardend ===
+ 
+ A Boolean parameter instructing Solr what to do in the event that {{{facet.range.gap}}}
does not divide evenly between {{{facet.range.start}}} and {{{facet.range.end}}}.  If this
is true, the last range constraint will have an upper bound of {{{facet.range.end}}}; if false,
the last range will have the smallest possible upper bound greater then {{{facet.range.end}}}
such that the range is exactly {{{facet.range.gap}}} wide.
+ 
+ The default is false.
+ 
+ This parameter can be specified on a per field basis.
+ 
+ === facet.range.include ===
+ 
+ Be default, the ranges used to compute range faceting between facet.range.start and facet.range.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.range.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]]

Mime
View raw message