Re: Solr Date Range not returning results for last 1 month

2015-01-07 Thread Chris Hostetter
: 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. it's not clear what

Re: Solr Date Range not returning results for last 1 month

2014-12-23 Thread Yavar Husain
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 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... > >

Re: Solr Date Range not returning results for last 1 month

2014-12-23 Thread Erick Erickson
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 wrote: > So my Solr date range query is as follows: > > &facet.range=date&facet.range.start=NOW/DAY-36MONTH&fac