For example my search returns 1000 documents. In my application I need to get all this documents from index for later processing
This last sentence is key. If you need all documents from a search, then you should be using a HitCollector instead. Look at the variants of the search methods and use the HitCollector one to get all documents in one shot.
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]