So what's left... maxMergeDocs I guess. Capping the segment size breaks the simple invariants a bit.
Correct.
We also need to be able to handle changes to M and maxMergeDocs between different IndexWriter sessions. When checking for a merge for
Hmmm. A change of M could easily break the invariants.
a particular f(n) level, always checking and merging leftmost* segments first solves some potential problems here.
Yes, this will help. This means multiple merges may be necessary for a particular f(n) level. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]