mirror of https://github.com/apache/lucene.git
add missing index version number to CheckIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@708971 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
58966ab728
commit
cdeff84532
|
@ -308,6 +308,8 @@ public class CheckIndex {
|
|||
sFormat = "FORMAT_DEL_COUNT [Lucene 2.4]";
|
||||
else if (format == SegmentInfos.FORMAT_HAS_PROX)
|
||||
sFormat = "FORMAT_HAS_PROX [Lucene 2.4]";
|
||||
else if (format == SegmentInfos.FORMAT_USER_DATA)
|
||||
sFormat = "FORMAT_USER_DATA [Lucene 2.9]";
|
||||
else if (format < SegmentInfos.CURRENT_FORMAT) {
|
||||
sFormat = "int=" + format + " [newer version of Lucene than this tool]";
|
||||
skip = true;
|
||||
|
|
Loading…
Reference in New Issue