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
--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,
&
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
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