lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lamprecht <>
Subject RangeQuery doesn't override equals() or hashCode() - intentional?
Date Mon, 11 Apr 2005 08:48:53 GMT
I was attempting to cache QueryFilters in a Map using the Query as the
key (a BooleanQuery instance containing two RangeQueries), and I
discovered that my BooleanQueries' equals() methods would always
return false, even when the queries were equivalent.  The culprit was
RangeQuery - it doesn't implement equals() or hashCode().  Is this
intentional, and if not, can I propose a patch to implement these
methods?  thanks,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message