mirror of
https://github.com/apache/lucene.git
synced 2025-02-07 18:49:03 +00:00
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]";
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user