lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Bowesman <...@teamware.com>
Subject Re: Caching of BitSets from filters and Query.equals()
Date Wed, 07 Mar 2007 02:34:10 GMT
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message