lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Li" <>
Subject Re: [jira] Commented: (LUCENE-565) Supporting deleteDocuments in IndexWriter (Code and Performance Results Provided)
Date Tue, 12 Dec 2006 17:33:05 GMT
Thanks for the comments Yonik!

> To minimize the number of reader open/closes on large persistent segments, I think the
ability to apply deletes only before a merge is important.  That might add a 4th method: doBeforeMerge()

I'm not sure I get this. Buffered deletes are only applied(flushed)
during ram flush. No buffered deletes are applied in the merges of
on-disk segments.

> It would be nice to not have to continually open and close readers on segments that aren't
involved in a merge.  Is there a way to do this?
> If SegmentInfos had a cached reader, that seems like it would solve both problems.
> I haven't thought about it enough to figure out how doable it is though.

This is a good idea! One concern, however, is that caching readers
will cause a larger memory footprint. Is it acceptable?

> Ning, please do produce another patch to the latest trunk (but you might want to wait
until after LUCENE-702 is sorted out.

Will do.

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

View raw message