lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsriram30 <vsrira...@gmail.com>
Subject Solr partial date range search
Date Tue, 26 Jan 2016 00:59:25 GMT
Hi, 
I am using solr 4.6.1. I have a date field (TrieDateField) in my schema and
I am trying to perform partial date range search as given in
https://cwiki.apache.org/confluence/display/solr/Working+with+Dates 
Query = date_field:[2016-01-11 TO NOW]
But I am getting,
"error": {
    "msg": "Invalid Date String:'2016-01-11'",
    "code": 400
  }

If I use full UTC date, it works good. So is the partial date range search
feature introduced in versions greater than 4.6.1?

Thanks,
Sriram



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-partial-date-range-search-tp4253226.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message