Re: IllegalArgumentException: attempt to access a deleted document

2005-10-06 Thread Doug Cutting
Peter Kim wrote: I noticed one way to get around this is to use IndexReader.isDeleted() to check if it's deleted or not. The problem with that is I only have access to a MultiSearcher in my HitCollector which doesn't give me access to the underlying IndexReader. I don't want to have to open an In

RE: IllegalArgumentException: attempt to access a deleted document

2005-10-06 Thread Otis Gospodnetic
--Original Message- > > From: Peter Kim [mailto:[EMAIL PROTECTED] > > Sent: Thursday, October 06, 2005 7:08 PM > > To: java-user@lucene.apache.org > > Subject: IllegalArgumentException: attempt to access a > > deleted document > > > > Hi, &

RE: IllegalArgumentException: attempt to access a deleted document

2005-10-06 Thread Peter Kim
er Kim [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 06, 2005 7:08 PM > To: java-user@lucene.apache.org > Subject: IllegalArgumentException: attempt to access a > deleted document > > Hi, > > I'm getting this error from trying to access a docum

IllegalArgumentException: attempt to access a deleted document

2005-10-06 Thread Peter Kim
Hi, I'm getting this error from trying to access a document in my custom hit collector: java.lang.IllegalArgumentException: attempt to access a deleted document at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:235 ) at org.apache.lucene.index.MultiReader.docume