lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: ValueListHandler pattern with Lucene
Date Sun, 11 Apr 2004 11:40:19 GMT
On Apr 11, 2004, at 5:25 AM, lucene@nitwit.de wrote:
> On Saturday 10 April 2004 20:40, Erik Hatcher wrote:
>> Thats the beauty.... it is up to you to load the doc iff you want it.
>
> As I "want" all of them I don't see why this should be faster at all...

Then have a look at the Hits class.  It is doing more work for caching 
and keeping a most recently used collection of documents around.  By 
using a HitCollector you are bypassing those mechanisms.  Whether it is 
measurably faster would depend on several other factors.

	Erik


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


Mime
View raw message