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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to