lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie <ja...@mailarchiva.com>
Subject Re: lucene 4.0.0 range query broken?
Date Wed, 16 Jul 2014 10:09:17 GMT
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


Mime
View raw message