Skip to content

Apache Lucene open-source search software

LUCENE-10131: Add backcompat indices for 8.10 and add LUCENE_8_10_0 to Version (#343)

Timothy Potter4c97b9e3f2fd
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.java
index 3b5eaf1b2c0..f5827058b1b 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
@@ -372,7 +372,9 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
"8.8.2-cfs",
"8.8.2-nocfs",
"8.9.0-cfs",
- "8.9.0-nocfs"
+ "8.9.0-nocfs",
+ "8.10.0-cfs",
+ "8.10.0-nocfs"
};
public static String[] getOldNames() {
@@ -383,6 +385,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
"sorted.8.0.0",
"sorted.8.1.0",
"sorted.8.1.1",
+ "sorted.8.10.0",
"sorted.8.2.0",
"sorted.8.3.0",
"sorted.8.3.1",
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.8.10.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.8.10.0-cfs.zip
new file mode 100644
index 00000000000..8afa630995b
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.8.10.0-cfs.zip differ
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.8.10.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.8.10.0-nocfs.zip
new file mode 100644
index 00000000000..265c354c26d
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/index.8.10.0-nocfs.zip differ
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/sorted.8.10.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/sorted.8.10.0.zip
new file mode 100644
index 00000000000..b42ce3756dc
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/sorted.8.10.0.zip differ
diff --git a/lucene/core/src/java/org/apache/lucene/util/Version.java b/lucene/core/src/java/org/apache/lucene/util/Version.java
index 364f8a82cf1..2f5b3721c37 100644
--- a/lucene/core/src/java/org/apache/lucene/util/Version.java
+++ b/lucene/core/src/java/org/apache/lucene/util/Version.java
@@ -168,6 +168,20 @@ public final class Version {
*/
@Deprecated public static final Version LUCENE_8_9_0 = new Version(8, 9, 0);
+ /**
+ * Match settings and bugs in Lucene's 8.10.0 release.
+ *
+ * @deprecated Use latest
+ */
+ @Deprecated public static final Version LUCENE_8_10_0 = new Version(8, 10, 0);
+
+ /**
+ * Match settings and bugs in Lucene's 8.10.0 release.
+ *
+ * @deprecated Use latest
+ */
+ @Deprecated public static final Version LUCENE_8_11_0 = new Version(8, 11, 0);
+
/**
* Match settings and bugs in Lucene's 9.0.0 release.
*