I assume you're talking about facets here. Use a series of
facet queries, and use the "key" trick. See:
http://wiki.apache.org/solr/SimpleFacetParameters#key_:_Changing_the_output_key

Best
Erick

On Sat, Sep 15, 2012 at 4:56 AM, Anupam Bhattacharya
<anupam...@gmail.com> wrote:
> How to fetch results for a indexed field of date format in the facet
> section as a group in the below format from SOLR ?
>
> Today's (10)
> Last 7 Days (20)
> Yesterday (30)
> Thursday (40)
> Wednesday (50)
> Tuesday (60)
> Monday (70)
> Sunday (80)
> last Week (90)
> Two Week Ago (100)
> Last Month (110)
> Two Months Ago (200)
> Three Months Ago (300)
> May (150)
> April (100)
> March (70)
> Febraury (60)
> Januaury (50)
> Last Year (40)
>
> Regards
> Anupam Bhattacharya

Reply via email to