lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yavar Husain <yavarhus...@gmail.com>
Subject Solr Date Range not returning results for last 1 month
Date Wed, 24 Dec 2014 05:55:42 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message