You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Doug Cutting <DC...@grandcentral.com> on 2002/02/28 17:27:01 UTC

RE: Optimization and deletes

> From: Aruna Raghavan [mailto:ArunaR@opin.com]
> 
> I have noticed that unless I optimize the indexing while 
> adding documents to
> it, the deleted documents are not getting physically deleted 
> right away
> (even though they seemed to have been flagged as "deleted". 
> The searcher
> could not find them once they were deleted). If I decide not 
> to optimize the
> index, when would the deleted documents actually get deleted?

They are in fact deleted, however the space they consume in the index has
not yet been reclaimed.  It will eventually be reclaimed as more documents
are added to the index, or when you optimize the index.

Doug

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>