can use facet.date.gap=+1MONTH
--
Regards,
Shalin Shekhar Mangar.
--
View this message in context:
http://www.nabble.com/Get-date-facet-counts-per-month-tp23175859p23217893.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Thu, Apr 23, 2009 at 2:36 AM, Raju444us ngudipa...@cormineid.com wrote:
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.
://localhost:8983/solr/select/?q=*:*rows=0facet=truefacet.date=timestampfacet.date.start=NOW/DAY-5DAYSfacet.date.end=NOW/DAY%2B1DAYfacet.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
://localhost:8983/solr/select/?q=*:*rows=0facet=truefacet.date=timestampfacet.date.start=NOW/DAY-5DAYSfacet.date.end=NOW/DAY%2B1DAYfacet.date.gap=%2B1DAY
thanks,
Raju
--
View this message in context:
http://www.nabble.com/Get-date-facet-counts-per-month-tp23175859p23175859.html
Sent from the Solr