Doron Cohen wrote:
Hi Mukesh,
Are you by a chance deleting docs in that loop, using
the same reader as the one used the searcher?
If so, using a separate reader for delete would fix that.
Also see related discussion -
http://www.nabble.com/Iterating-hits-tf1129306.html#a2955956
Also another thing which causes this issue is using a filter whose
results change each time (e.g. database dependent.) In this situation
you have to cache the filter bits by wrapping a CachingWrapperFilter
around it.
Daniel
--
Daniel Noll
Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699
Web: http://nuix.com/ Fax: +61 2 9212 6902
This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]