Re: Exception while retrieving 100th element id in hits.id()

2007-01-25 Thread Mukesh Bhardwaj
Thanks Doron,you are right ,I'm performing delete operation. Doron Cohen <[EMAIL PROTECTED]> 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 discu

Re: Exception while retrieving 100th element id in hits.id()

2007-01-25 Thread Mukesh Bhardwaj
Thanks Doron,you are right ,I'm performing delete operation. Doron Cohen <[EMAIL PROTECTED]> 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 disc

Re: Exception while retrieving 100th element id in hits.id()

2007-01-24 Thread Daniel Noll
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 t

Re: Exception while retrieving 100th element id in hits.id()

2007-01-24 Thread Doron Cohen
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 Regards, Doron Mukesh Bhardwaj <[EM

Exception while retrieving 100th element id in hits.id()

2007-01-24 Thread Mukesh Bhardwaj
Hi, I'm getting exception while retrieving 100th element id in hits.my sample code is given below: for(int i=0;