mirror of https://github.com/apache/lucene.git
fix silly bug in CheckIndex's checking of increasing positions
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820368 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ba5e4445a6
commit
9b0f9934c3
|
@ -657,6 +657,7 @@ public class CheckIndex {
|
|||
throw new RuntimeException("term " + term + ": doc " + doc + ": pos " + pos + " is out of bounds");
|
||||
if (pos < lastPos)
|
||||
throw new RuntimeException("term " + term + ": doc " + doc + ": pos " + pos + " < lastPos " + lastPos);
|
||||
lastPos = pos;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue