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:
Michael McCandless 2008-10-29 18:30:50 +00:00
parent 58966ab728
commit cdeff84532

View File

@ -308,6 +308,8 @@ public class CheckIndex {
sFormat = "FORMAT_DEL_COUNT [Lucene 2.4]"; sFormat = "FORMAT_DEL_COUNT [Lucene 2.4]";
else if (format == SegmentInfos.FORMAT_HAS_PROX) else if (format == SegmentInfos.FORMAT_HAS_PROX)
sFormat = "FORMAT_HAS_PROX [Lucene 2.4]"; 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) { else if (format < SegmentInfos.CURRENT_FORMAT) {
sFormat = "int=" + format + " [newer version of Lucene than this tool]"; sFormat = "int=" + format + " [newer version of Lucene than this tool]";
skip = true; skip = true;