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] Trivial Update of "SimpleFacetParameters" by elonderin
Date Thu, 26 Jan 2012 17:03:29 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 elonderin:
http://wiki.apache.org/solr/SimpleFacetParameters?action=diff&rev1=61&rev2=62

Comment:
.gap & variable bucket size is now for v3.6

  
  This parameter can be specified on a per field basis.
  
- <!> [[Solr3.5]], [[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+).
+ <!> [[Solr3.6]], [[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.
  
@@ -224, +224 @@

  
  Example: {{{f.price.facet.range.gap=100&f.age.facet.range.gap=10}}}
  
- <!> [[Solr3.5]], [[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+).
+ <!> [[Solr3.6]], [[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.
  

Mime
View raw message