As I understand it (correct me if I'm wrong, Mike), there will be a cascading merge in this case, but not an optimize, because you don't merge all (twenty) segments at each level, just half of them (ten).
-----Original Message----- From: Ning Li [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 6:57 AM To: java-dev@lucene.apache.org Subject: Re: [jira] Created: (LUCENE-854) Create merge policy that doesn't periodically inadvertently optimize On 3/31/07, Michael McCandless (JIRA) <[EMAIL PROTECTED]> wrote: > Create merge policy that doesn't periodically inadvertently optimize > -------------------------------------------------------------------- > So we could make a small change to the policy by only merging the > first mergeFactor segments once we hit 2X the merge factor. With > mergeFactor=10, when we have created the 20th level 0 (just flushed) > segment, we merge the first 10 into a level 1 segment. Then on > creating another 10 level 0 segments, we merge the second set of 10 > level 0 segments into a level 1 segment, etc. Hi Mike, When a 20th level 0 segment triggers a 20th level 1 segment which triggers a 20th level 2 segment... we are still optimizing, aren't we? Am I missing something here? Regards, Ning --------------------------------------------------------------------- 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]