You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2015/02/23 10:05:35 UTC

svn commit: r1661623 - in /lucene/dev/branches/branch_5x: ./ lucene/ lucene/backward-codecs/ lucene/backward-codecs/src/test/org/apache/lucene/index/

Author: jpountz
Date: Mon Feb 23 09:05:34 2015
New Revision: 1661623

URL: http://svn.apache.org/r1661623
Log:
Add moreterms and dvupdates indices for backward-compatibility tests.

Added:
    lucene/dev/branches/branch_5x/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.5.0.0.zip
      - copied unchanged from r1661622, lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.5.0.0.zip
    lucene/dev/branches/branch_5x/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-cfs.zip
      - copied unchanged from r1661622, lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-cfs.zip
    lucene/dev/branches/branch_5x/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-nocfs.zip
      - copied unchanged from r1661622, lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-nocfs.zip
    lucene/dev/branches/branch_5x/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.5.0.0.zip
      - copied unchanged from r1661622, lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.5.0.0.zip
Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/lucene/   (props changed)
    lucene/dev/branches/branch_5x/lucene/backward-codecs/   (props changed)
    lucene/dev/branches/branch_5x/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java

Modified: lucene/dev/branches/branch_5x/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java?rev=1661623&r1=1661622&r2=1661623&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java (original)
+++ lucene/dev/branches/branch_5x/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java Mon Feb 23 09:05:34 2015
@@ -83,7 +83,7 @@ import org.junit.BeforeClass;
 public class TestBackwardsCompatibility extends LuceneTestCase {
 
   // To generate backcompat indexes with the current default codec, run the following ant command:
-  //  ant test -Dtestcase=TestBackwardsCompatibility -Dbwc.indexdir=/path/to/store/indexes
+  //  ant test -Dtestcase=TestBackwardsCompatibility -Dtests.bwcdir=/path/to/store/indexes
   //           -Dtests.codec=default -Dtests.useSecurityManager=false
   // Also add testmethod with one of the index creation methods below, for example:
   //    -Dtestmethod=testCreateCFS
@@ -313,6 +313,8 @@ public class TestBackwardsCompatibility
   
   final static String[] oldSingleSegmentNames = {"4.0.0-optimized-cfs",
                                                  "4.0.0-optimized-nocfs",
+    "5.0.0.singlesegment-cfs",
+    "5.0.0.singlesegment-nocfs"
   };
   
   static Map<String,Directory> oldIndexDirs;