Apache Lucene open-source search software
Add back-compat indices for 9.0.0.
Adrien Grandecc38495ab2a
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.javaindex e898ba3bc36..8f5a2417050 100644--- a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java+++ b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java@@ -334,13 +334,18 @@ public class TestBackwardsCompatibility extends LuceneTestCase {}}- static final String[] oldNames = {};+ static final String[] oldNames = {+ "9.0.0-cfs",+ "9.0.0-nocfs"+ };public static String[] getOldNames() {return oldNames;}- static final String[] oldSortedNames = {};+ static final String[] oldSortedNames = {+ "sorted.9.0.0"+ };public static String[] getOldSortedNames() {return oldSortedNames;@@ -994,7 +999,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {IllegalArgumentException.class, () -> TestUtil.addIndexesSlowly(w, reader));assertEquals(e.getMessage(),- "Cannot merge a segment that has been created with major version 8 into this index which has been created by major version 9");+ "Cannot merge a segment that has been created with major version 9 into this index which has been created by major version 10");w.close();targetDir2.close();diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/dvupdates.9.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/dvupdates.9.0.0.zipnew file mode 100644index 00000000000..f9bca780964Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/dvupdates.9.0.0.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/empty.9.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/empty.9.0.0.zipnew file mode 100644index 00000000000..24dde332e29Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/empty.9.0.0.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.9.0.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.9.0.0-cfs.zipnew file mode 100644index 00000000000..2783c4bb2cfBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.9.0.0-cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.9.0.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.9.0.0-nocfs.zipnew file mode 100644index 00000000000..98dfb5f8c79Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.9.0.0-nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/moreterms.9.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/moreterms.9.0.0.zipnew file mode 100644index 00000000000..52ad8d74b12Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/moreterms.9.0.0.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/sorted.9.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/sorted.9.0.0.zipnew file mode 100644index 00000000000..08484e6fff4Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/sorted.9.0.0.zip differ