lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Shaposhnikov <...@tut.by>
Subject Re: Performance of fuzzy query
Date Wed, 25 Feb 2004 23:28:49 GMT
On 10:12 Wed 25 Feb     , Doug Cutting wrote:
> 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.

Thank you for reply. I really need to read lucene
documentation once again :)

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

---------------------------------------------------------------------
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