/[Apache-SVN]
ViewVC logotype

Revision 788728


Jump to revision: Previous Next
Author: uschindler
Date: Fri Jun 26 15:02:49 2009 UTC (15 years, 4 months ago)
Changed paths: 3
Log Message:
Fix the special corner case, that an exclusive range starting/ending with MAX_VALUE/MIN_VALUE overflows the bounds. Return a empty TermEnum in this case (which causes an EMPTY_DOCIDSET returned from getDocIdSet) (see LUCENE-1461 discussions)

Changed paths

Path Details
Directorylucene/java/trunk/src/java/org/apache/lucene/search/NumericRangeQuery.java modified , text changed
Directorylucene/java/trunk/src/test/org/apache/lucene/search/TestNumericRangeQuery32.java modified , text changed
Directorylucene/java/trunk/src/test/org/apache/lucene/search/TestNumericRangeQuery64.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26