lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shai Erera <ser...@gmail.com>
Subject How should one impl own MergeScheduler
Date Mon, 02 May 2011 09:09:28 GMT
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

Mime
View raw message