mirror of https://github.com/apache/lucene.git
LUCENE-5668: er, actually fix the bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594096 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb23f007aa
commit
fdd8428cc1
|
@ -361,7 +361,7 @@ public class TieredMergePolicy extends MergePolicy {
|
||||||
return spec;
|
return spec;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eligible.size() >= allowedSegCountInt) {
|
if (eligible.size() > allowedSegCountInt) {
|
||||||
|
|
||||||
// OK we are over budget -- find best merge!
|
// OK we are over budget -- find best merge!
|
||||||
MergeScore bestScore = null;
|
MergeScore bestScore = null;
|
||||||
|
|
Loading…
Reference in New Issue