I read that for handling date range query NumericRangeQuery is better than
TermRangeQuery in "Lucene in action", But i couldnot find the reason. i want
to know the reason behind it. I used TermRangeQuery and NumericRangequery
both for handling date range query and i found that searching is fast via
NumericRangeQuery.

My second point is to query using NumericRangeQuery i have to create indexes
using NumericField by which i can create indexes upto milisecond but what if
i want to reduce my resolution upto hour or day.

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Numeric-Range-Query-tp2005303p2005303.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Reply via email to