lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r708971 - /lucene/java/trunk/src/java/org/apache/lucene/index/CheckIndex.java
Date Wed, 29 Oct 2008 18:30:50 GMT
Author: mikemccand
Date: Wed Oct 29 11:30:50 2008
New Revision: 708971

URL: http://svn.apache.org/viewvc?rev=708971&view=rev
Log:
add missing index version number to CheckIndex

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/index/CheckIndex.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/CheckIndex.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/CheckIndex.java?rev=708971&r1=708970&r2=708971&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/CheckIndex.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/CheckIndex.java Wed Oct 29 11:30:50
2008
@@ -308,6 +308,8 @@
         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;



Mime
View raw message