add javadoc NOTE about package-private APIs for MergePolicy & MergeScheduler

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@759068 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-03-27 09:19:05 +00:00
parent 0f17904f1e
commit 2d221f79ad
2 changed files with 14 additions and 0 deletions

View File

@ -50,8 +50,15 @@ import java.util.Set;
*
* <p>The default MergePolicy is {@link
* LogByteSizeMergePolicy}.</p>
*
* <p><b>NOTE:</b> This API is new and still experimental
* (subject to change suddenly in the next release)</p>
*
* <p><b>NOTE</b>: This class typically requires access to
* package-private APIs (eg, SegmentInfos) to do its job;
* if you implement your own MergePolicy, you'll need to put
* it in package org.apache.lucene.index in order to use
* these APIs.
*/
public abstract class MergePolicy {

View File

@ -23,8 +23,15 @@ import java.io.IOException;
* implementing this interface to execute the merges
* selected by a {@link MergePolicy}. The default
* MergeScheduler is {@link ConcurrentMergeScheduler}.</p>
*
* <p><b>NOTE:</b> This API is new and still experimental
* (subject to change suddenly in the next release)</p>
*
* <p><b>NOTE</b>: This class typically requires access to
* package-private APIs (eg, SegmentInfos) to do its job;
* if you implement your own MergePolicy, you'll need to put
* it in package org.apache.lucene.index in order to use
* these APIs.
*/
public abstract class MergeScheduler {