lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Performance of fuzzy query
Date Wed, 25 Feb 2004 18:12:01 GMT
Konstantin Shaposhnikov wrote:
> For example my search returns 1000 documents. In my application I need 
> to get all this documents from index for later processing, but lucene 
> rereads every 100 documents all terms in the index, because by default 
> we get only 100 documents from index (see Hits class) and when I access 
> 101st document the search process is performed again and absolutely 
> unnecessary operation of creating FilteredTermEnum is performed.

If you need all of the hits, use HitCollector instead of Hits.

Doug

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


Mime
View raw message