In the example on the wiki that 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


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,
Raju


Bertrand L. Delacretaz wrote:
> 
> On 1/9/07, Ryan McKinley <ryan...@gmail.com> wrote:
>> ...I would like to use faceted browsing to group documents by year,
>> month, and day.  I can think of a few ways to do this, but I'd like to
>> see what folks think before i start down the wrong track....
> 
> Dunno if you've already read it, but I found this page interesting
> when it comes to date queries, it might give you some additional
> ideas:
> 
>   http://wiki.apache.org/jakarta-lucene/LargeScaleDateRangeProcessing
> 
> -Bertrand
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Faceted-Dates-tp8232159p23177254.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to