You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2014/09/10 16:11:10 UTC

svn commit: r1624005 - in /lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index: TestBackwardsCompatibility3x.java index.30.cfs.zip index.30.nocfs.zip index.301.cfs.zip index.301.nocfs.zip

Author: rmuir
Date: Wed Sep 10 14:11:10 2014
New Revision: 1624005

URL: http://svn.apache.org/r1624005
Log:
LUCENE-5863: regenerate 3.0 and add 3.0.1

Added:
    lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.301.cfs.zip   (with props)
    lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.301.nocfs.zip   (with props)
Modified:
    lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility3x.java
    lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.30.cfs.zip
    lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.30.nocfs.zip

Modified: lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility3x.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility3x.java?rev=1624005&r1=1624004&r2=1624005&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility3x.java (original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility3x.java Wed Sep 10 14:11:10 2014
@@ -111,6 +111,8 @@ public class TestBackwardsCompatibility3
 */  
   final static String[] oldNames = {"30.cfs",
                              "30.nocfs",
+                             "301.cfs",
+                             "301.nocfs",
                              "31.cfs",
                              "31.nocfs",
                              "32.cfs",
@@ -741,6 +743,12 @@ public class TestBackwardsCompatibility3
   
   public void testNumericFields() throws Exception {
     for (String name : oldNames) {
+      if (name.compareTo("index31") < 0) {
+        // we didn't have numeric fields in back compat indexes until 3.1
+        // https://issues.apache.org/jira/browse/LUCENE-2352
+        
+        continue;
+      }
       
       Directory dir = oldIndexDirs.get(name);
       IndexReader reader = DirectoryReader.open(dir);

Modified: lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.30.cfs.zip
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.30.cfs.zip?rev=1624005&r1=1624004&r2=1624005&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.30.nocfs.zip
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.30.nocfs.zip?rev=1624005&r1=1624004&r2=1624005&view=diff
==============================================================================
Binary files - no diff available.

Added: lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.301.cfs.zip
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.301.cfs.zip?rev=1624005&view=auto
==============================================================================
Binary file - no diff available.

Added: lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.301.nocfs.zip
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/index.301.nocfs.zip?rev=1624005&view=auto
==============================================================================
Binary file - no diff available.