you have dates in the wrong order in the second query. Try instead: ["2011-09-22T22:40:30Z" TO "2012-02-02T01:30:52Z"]
in general: [start_date TO end_date] Dmitry On Fri, May 4, 2012 at 1:10 PM, ayyappan <ayyaba...@gmail.com> wrote: > Hi > > I'm having a slight problem with date searching... if i give same date > range in search query it seems to be working fine when try to give the > different date range and i am not getting result. > > Ex : > select/?defType=dismax&q=[*"2012-02-02T01:30:52Z" TO > "2012-02-02T01:30:52Z"*]&qf=scanneddate > > i am getting result <result name="response" numFound="20" start="0"> > > if try different date range . > > ["2012-02-02T01:30:52Z" TO "2011-09-22T22:40:30Z"] > > there is no record at all .please help me the same. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/problem-with-date-searching-tp3961761.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Regards, Dmitry Kan