lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
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
compared".

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!

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message