lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Ottinger <j...@enigmastation.com>
Subject Re: IndexReader.delete(int) not working for me
Date Wed, 05 Mar 2003 17:23:32 GMT
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: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>

---------------------------------------------------------
Joseph B. Ottinger                 joeo@enigmastation.com
http://enigmastation.com                    IT Consultant


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message