Thanks Erick. That works!

Will check some other time as to why NOW/DAY does not work.

Regards,
Yavar

On Wed, Dec 24, 2014 at 11:39 AM, Erick Erickson <erickerick...@gmail.com>
wrote:

> Hmmm, not quite sure what's going on here, but try an end
> time of NOW/MONTH+1MONTH with the usual escaping of the
> plus sign...
>
> Best,
> Erick
>
> On Tue, Dec 23, 2014 at 9:55 PM, Yavar Husain <yavarhus...@gmail.com>
> wrote:
> > So my Solr date range query is as follows:
> >
> >
> &facet.range=date&facet.range.start=NOW/DAY-36MONTH&facet.range.end=NOW/DAY&facet.range.gap=%2B1MONTH
> >
> > I need facets for past 36 months or 3 year and everything is fine except
> > for data not being returned for last 1 month,
> >
> > However the facets I am getting for the date is till last month, say
> today
> > is 24th December and I am getting it till 24th November. How should I
> > modify my query to obtain results till today? Tried a few options using
> HIT
> > and TRIAL :) but could not arrive at a solution.
> >
> > Appreciate the help in this regard.
>

Reply via email to