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 HossMan:
http://wiki.apache.org/solr/SimpleFacetParameters

------------------------------------------------------------------------------
  Several params can be used to trigger faceting based on Date ranges computed 
using simple DateMathParser expressions.
  
  When using Date Faceting, the {{{facet.date}}}, {{{facet.date.start}}}, 
{{{facet.date.end}}}, and {{{facet.date.gap}}} params are all mandatory...
+ 
+ [Solr 1.3+]
  
  === facet.date ===
  
@@ -349, +351 @@

  
  
  == Date Faceting: per day for the past 5 days ==
+ 
+ [Solr 1.3+]
+ 
  
`http://localhost:8983/solr/select/?q=*:*&rows=0&facet=true&facet.date=timestamp&facet.date.start=NOW/DAY-5DAYS&facet.date.end=NOW/DAY%2B1DAY&facet.date.gap=%2B1DAY`
  
  {{{

Reply via email to