lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Goller <gol...@detego-software.de>
Subject PATCH: RangeQuery
Date Fri, 05 Sep 2003 12:48:56 GMT
There is a bug in RangeQuery. In case of inclusive == false upperTerm
is chaged in rewrite according to a value from reader.terms(upperTerm).
This means that a RangeQuery has a state that is depending/changing with
search. Thus RangeQueries cannot be reused for several searches.
A JUnit test that demonstrates the problem and a patch that fixes it
are attatched.

Christoph

-- 
*****************************************************************
* Dr. Christoph Goller       Tel.:   +49 89 203 45734           *
* Detego Software GmbH       Mobile: +49 179 1128469            *
* Keuslinstr. 13             Fax.:   +49 721 151516176          *
* 80798 M√ľnchen, Germany     Email:  goller@detego-software.de  *
*****************************************************************

Mime
View raw message