Hi,

We are writing our own search handler. We are facing this below issue.

We are passing a
date(Date:(["2012-10-01T00:00:00.000Z"+TO+"2012-10-01T23:59:59.999Z"])) for
date range search to QParser.getParser method but it is converting the date
to unix timestamp format.(Date:([1322179200000 TO 1322265599999])). is there
anyway to get the same date as we passed.

 QParser queryParser = QParser.getParser(q, defType, req);
    Query query = queryParser.getQuery();
DocList matchDocs2 = indexSearcher.getDocList(query1, null, null, 1,
10,10000);

Anyone please help.

Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/QParser-parsing-date-into-unix-timestamp-format-tp4111980.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to