lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: lucene 4.0.0 range query broken?
Date Wed, 16 Jul 2014 10:18:20 GMT
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: uwe@thetaphi.de


> -----Original Message-----
> From: Jamie [mailto:jamie@mailarchiva.com]
> Sent: Wednesday, July 16, 2014 12:09 PM
> To: java-user@lucene.apache.org
> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org


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


Mime
View raw message