Apache Lucene open-source search software
adding bwc test indexes for 5.0.0
Ryan Ernst9b112b58d431
diff --git a/dev-tools/scripts/addBackcompatIndexes.py b/dev-tools/scripts/addBackcompatIndexes.pyindex 3465e8a8ff3..b4dbdcf8f32 100644--- a/dev-tools/scripts/addBackcompatIndexes.py+++ b/dev-tools/scripts/addBackcompatIndexes.py@@ -34,8 +34,8 @@ def create_and_add_index(source, indextype, version, temp_dir):'nocfs': 'index.%s-nocfs.zip'}[indextype] % versionprint(' creating %s...' % filename, end='', flush=True)- module = 'lucene/backward-codecs'- index_dir = os.path.join(module, 'src/test/org/apache/lucene/index')+ module = 'backward-codecs'+ index_dir = os.path.join('lucene', module, 'src/test/org/apache/lucene/index')test_file = os.path.join(index_dir, filename)if os.path.exists(os.path.join(index_dir, filename)):print('uptodate')diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.javaindex 673f4926f57..03dbe7a1580 100644--- a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java+++ b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java@@ -208,6 +208,8 @@ public class TestBackwardsCompatibility extends LuceneTestCase {}final static String[] oldNames = {+ "5.0.0-cfs",+ "5.0.0-nocfs"};final String[] unsupportedNames = {diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-cfs.zipnew file mode 100644index 00000000000..a95f59b9d28Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-nocfs.zipnew file mode 100644index 00000000000..896e0c026bbBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-nocfs.zip differ