mirror of https://github.com/apache/lucene.git
LUCENE-3454: missed a rename
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201129 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dc7704b284
commit
789cb13f69
|
@ -32,12 +32,12 @@ public class LogByteSizeMergePolicy extends LogMergePolicy {
|
|||
|
||||
/** Default maximum segment size. A segment of this size
|
||||
* or larger will never be merged during forceMerge. @see setMaxMergeMBForForceMerge */
|
||||
public static final double DEFAULT_MAX_MERGE_MB_FOR_MERGE_IF_NEEDED = Long.MAX_VALUE;
|
||||
public static final double DEFAULT_MAX_MERGE_MB_FOR_FORCED_MERGE = Long.MAX_VALUE;
|
||||
|
||||
public LogByteSizeMergePolicy() {
|
||||
minMergeSize = (long) (DEFAULT_MIN_MERGE_MB*1024*1024);
|
||||
maxMergeSize = (long) (DEFAULT_MAX_MERGE_MB*1024*1024);
|
||||
maxMergeSizeForForcedMerge = (long) (DEFAULT_MAX_MERGE_MB_FOR_MERGE_IF_NEEDED*1024*1024);
|
||||
maxMergeSizeForForcedMerge = (long) (DEFAULT_MAX_MERGE_MB_FOR_FORCED_MERGE*1024*1024);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue