You have the same problem if there is an existing reader open, so
what is the difference? You can't remove the segments there either.
On Jan 16, 2007, at 3:18 PM, Yonik Seeley wrote:
On 1/16/07, Doug Cutting <[EMAIL PROTECTED]> wrote:
Remind me, why do we have to update the segments file except at
close?
I'm sure there's a good reason, and that's central to this
discussion.
If segments are removed because of a merge, a new reader coming along
will have problems opening the index if the segments file isn't
updated to reflect that.
One could keep around all old segments until a close() but that would
cost disk space.
-Yonik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]