Chris Hostetter wrote:
: equals to get q1.equals(q2). The core Lucene Query implementations do
override
: equals() to satisfy that test, but some of the contrib Query implementations
do
: not override equals, so you would never see the same Query twice and caching
: BitSets for those Query instances would be a waste of time.
fileing bugs about those Query instances would be helpful .. bugs with
patches that demonstrate the problem in unit tests and fix them would be
even more helpful :)
OK, I'll put it on my todo list, but I've got to get the product out of the door
this month...
These classes may prove useful in submitting test cases...
http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/search/QueryUtils.java?view=log
http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/search/CheckHits.java
Thanks for those pointers.
Antony
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]