lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject BooleanQuery.equals() change
Date Mon, 11 Apr 2005 21:57:06 GMT
Erik, why was the last change to BooleanQuery made?
The comment was "Correct BooleanQuery.equals such that every clause is

It looks like Vector.equals() should have worked, and the new code is
probably slower as it creates two new arrays.

We actually need to do some caching with Query as part of the key, so
I'm very glad you have been taking care of the equals()/hashCode()
issues in the Query hierarchy!


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

View raw message