"Yonik Seeley" <[EMAIL PROTECTED]> wrote:
> On 5/2/07, Michael McCandless <[EMAIL PROTECTED]> wrote:
> > It would merge based on size (not # docs), would be free to merge
> > adjacent segments (not just rightmost segments), and would merge N
> > (configurable) at a time.
> 
> Hopefully it will always be easy to switch the meaning of "size" so it
> could be in bytes or number of documents.  Just keeping in mind the
> ParallelReader...

Good point.  I had been thinking we would keep the current merge
policy as a choice that users of ParallelReader could use.

But we could in addition give this new merge policy a "switch" as
whether size is measured by #docs vs by #bytes.  The benefit for users
of ParallelReader would then be that the policy takes deletes into
account and has freedom to merge adjacent (not just rightmost)
segments vs the current merge policy.  This seems like the way to go.

Mike
-- 
  Michael McCandless
  [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to