Then this means that my IndexReader.delete(i) isn't working properly. What
would be the common causes for this? My log shows the documents being
deleted, so something's going wrong at that point.

On Wed, 5 Mar 2003, Doug Cutting wrote:

> Joseph Ottinger wrote:
> > This shouldn't replace the document per se - it should, however, free the
> > index entry (for reuse by documents added later) as I understand it. It
> > should also mark the document as deleted. A query still may return the
> > document (again, as I understand it), requiring a filter to make sure
> > deleted documents aren't returned.
>
> Searches results do not include deleted documents, so you do not need to
> explicitly filter for them.  After a document is deleted, the space
> consumed by it may not be reclaimed for a while, and some term
> statistics may not be updated immediately, but Lucene never returns
> references deleted documents.
>
> Doug
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------
Joseph B. Ottinger                 [EMAIL PROTECTED]
http://enigmastation.com                    IT Consultant


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to