lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: How should one impl own MergeScheduler
Date Mon, 02 May 2011 10:11:18 GMT
I think we should open up these APIs?

And, we should make a test case that lives outside of oal.index, to
assert that in fact all needed APIs are not package private?


On Mon, May 2, 2011 at 5:09 AM, Shai Erera <> wrote:
> Hi
> I wanted to impl my own MergeScheduler (a variation of SerialMergeScheduler,
> which does minor additional work), and found out I cannot really, for lack
> of visible API on IndexWriter, such as getNextMerge() and merge(OneMerge) --
> both exist, but are package-private.
> It got me thinking -- how can anyone impl his own MergeScheduler today?
> Perhaps people impl MergePolicy only?
> Would it make sense to open this API to our users? Is there other API we
> should consider opening w.r.t. MergeScheduler/Policy?
> Shai

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message