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?

Mike

http://blog.mikemccandless.com

On Mon, May 2, 2011 at 5:09 AM, Shai Erera <ser...@gmail.com> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to