lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Li" <>
Subject Re: IndexWriter#deleteDocuments
Date Wed, 21 Feb 2007 17:28:16 GMT
On 2/20/07, karl wettin <> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message