Uwe

Thanks for the suggestion.

When I inspect the query in Eclipse, I can clearly see that a NumericRangeQuery is constructed.

Why would this query work in an older version of Lucene but not 4.0.0.?

Jamie

On 2014/07/16, 11:45 AM, Uwe Schindler wrote:
If you index as a long field, you have to use NumericRangeQuery to query. A 
simple TermRangeQuery as created by QueryParser does not work, because it 
cannot handle numeric fields.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de





---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to