mirror of
https://github.com/apache/lucene.git
synced 2025-03-06 08:19:23 +00:00
LUCENE-4222: return MB not Bytes from getFloorSegmentMB
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361966 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c36c959a80
commit
eb4c26db80
@ -55,6 +55,9 @@ Bug Fixes
|
||||
* LUCENE-4221: Fix overeager CheckIndex validation for term vector offsets.
|
||||
(Robert Muir)
|
||||
|
||||
* LUCENE-4222: TieredMergePolicy.getFloorSegmentMB was returning the
|
||||
size in bytes not MB (Chris Fuller via Mike McCandless)
|
||||
|
||||
Build
|
||||
|
||||
* LUCENE-4094: Support overriding file.encoding on forked test JVMs
|
||||
|
@ -168,7 +168,7 @@ public class TieredMergePolicy extends MergePolicy {
|
||||
|
||||
/** @see #setFloorSegmentMB */
|
||||
public double getFloorSegmentMB() {
|
||||
return floorSegmentBytes/1024*1024.;
|
||||
return floorSegmentBytes/(1024*1024.);
|
||||
}
|
||||
|
||||
/** When forceMergeDeletes is called, we only merge away a
|
||||
|
Loading…
x
Reference in New Issue
Block a user