You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Raju444us <ng...@cormineid.com> on 2009/04/22 22:18:21 UTC
Get date facet counts per month level
In the example on the wiki at gives the facet counts for date per day.How
should the query look like to get date facets by month.
http://wiki.apache.org/solr/SimpleFacetParameters#head-068dc96b0dac1cfc7264fe85528d7df5bf391acd
Here is the sample query for day level facet counts.
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
thanks,
Naveen
--
View this message in context: http://www.nabble.com/Get-date-facet-counts-per-month-level-tp23175841p23175841.html
Sent from the Solr - User mailing list archive at Nabble.com.