mirror of https://github.com/apache/lucene.git
CheckIndex was over-checking seek terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022216 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f04c4481c7
commit
e7ae91affd
|
@ -733,8 +733,6 @@ public class CheckIndex {
|
|||
throw new RuntimeException("termCount mismatch " + termCount + " vs " + (status.termCount - termCountStart));
|
||||
}
|
||||
|
||||
termCount = status.termCount;
|
||||
|
||||
int seekCount = (int) Math.min(10000L, termCount);
|
||||
if (seekCount > 0) {
|
||||
BytesRef[] seekTerms = new BytesRef[seekCount];
|
||||
|
|
Loading…
Reference in New Issue