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, 16 Feb 2011 20:55:44 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=55&rev2=56

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

  Example: {{{facet.date.gap=%2B1DAY}}}  (+1DAY)
  
  This parameter can be specified on a per field basis.
+ 
+ <!> [[Solr3.2]], [[Solr4.0]] -- See https://issues.apache.org/jira/browse/SOLR-2366
+ The following section on variable width gaps discusses uncommitted code
+ Gaps can also be variable width by passing in a comma separated list of the gap size to
be used.  The last gap specified will be used to fill out all remaining gaps if the number
of gaps given does not go evenly into the range.  Variable width gaps are useful, for example,
in spatial applications where one might want to facet by distance into three buckets: walking
(0-5KM), driving(5-100KM), other(100KM+).
+ 
+ Example: {{{facet.date.gap=+1DAY,+2DAY,+3DAY,+10DAY}}} -- This creates 4+ buckets of size,
1 day, 2 days, 3 days and then 0 or more of 10 days each, depending on the start and end times.
  
  === facet.date.hardend ===
  
@@ -244, +250 @@

  
  Example: {{{f.price.facet.range.gap=100&f.age.facet.range.gap=10}}}
  
+ <!> [[Solr3.2]], [[Solr4.0]] -- See https://issues.apache.org/jira/browse/SOLR-2366
+ The following section on variable width gaps discusses uncommitted code
+ Gaps can also be variable width by passing in a comma separated list of the gap size to
be used.  The last gap specified will be used to fill out all remaining gaps if the number
of gaps given does not go evenly into the range.  Variable width gaps are useful, for example,
in spatial applications where one might want to facet by distance into three buckets: walking
(0-5KM), driving(5-100KM), other(100KM+).
+ 
+ Example: {{{facet.date.gap=1,2,3,10}}} -- This creates 4+ buckets of size, 1, 2, 3 and then
0 or more buckets of 10 days each, depending on the start and end values.
  
  === facet.range.hardend ===
  

Mime
View raw message