lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Li" <ning.li...@gmail.com>
Subject Re: IndexWriter#deleteDocuments
Date Wed, 21 Feb 2007 17:28:16 GMT
On 2/20/07, karl wettin <karl.wettin@gmail.com> wrote:
> Could the reader per segment be replaced by one single MultiReader
> created by the original indexDeleterFactory()? Or are the segments
> partially the RAMDirectory of the writer, partially the persistent
> index?

All segments are disk segments. However, the buffered delete terms are
applied differently: for the segment just flushed from ram, delete
terms are applied appropriately so that a delete term is only applied
to the documents buffered before it, not those buffered after it;
delete terms are applied to all the documents in all other segments.

Ning

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


Mime
View raw message