fix javadocs

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1137733 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2011-06-20 18:26:07 +00:00
parent 5aa0bde27b
commit 0c30aeffb3
1 changed files with 6 additions and 2 deletions

View File

@ -187,8 +187,12 @@ public class TieredMergePolicy extends MergePolicy {
/** Sets the allowed number of segments per tier. Smaller
* values mean more merging but fewer segments.
* setMaxMergeAtOnce} otherwise you'll hit
* Default is 10.0. */
*
* <p><b>NOTE</b>: this value should be >= the {@link
* #setMaxMergeAtOnce} otherwise you'll force too much
* merging to occur.</p>
*
* <p>Default is 10.0.</p> */
public TieredMergePolicy setSegmentsPerTier(double v) {
if (v < 2.0) {
throw new IllegalArgumentException("segmentsPerTier must be >= 2.0 (got " + v + ")");