Hi, It is definitely not broken in 4.x. There may be other problems in your code like non-consistent precisionSteps or other. If you could give a complete self-contained test case, I may help you to find your bug.
Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Jamie [mailto:[email protected]] > Sent: Wednesday, July 16, 2014 12:09 PM > To: [email protected] > Subject: Re: lucene 4.0.0 range query broken? > > Here it is > > return NumericRangeQuery.newLongRange(field.getIndexField(), 8, > Long.parseLong(query.getLowerTerm().utf8ToString()), > Long.parseLong(query.getUpperTerm().utf8ToString()), > query.includesLower(), query.includesUpper()); > > Range query appears broken in Lucene 4.0.0. > > On 2014/07/16, 12:07 PM, Jamie wrote: > > 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 > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
