lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Parkes" <steven_par...@esseff.org>
Subject RE: [jira] Created: (LUCENE-854) Create merge policy that doesn't periodically inadvertently optimize
Date Wed, 02 May 2007 22:34:53 GMT
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:ning.li.li@gmail.com] 
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) <jira@apache.org> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


---------------------------------------------------------------------
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