diff --git a/core/src/main/java/org/elasticsearch/Version.java b/core/src/main/java/org/elasticsearch/Version.java index db2e1940547..83f9405f74c 100644 --- a/core/src/main/java/org/elasticsearch/Version.java +++ b/core/src/main/java/org/elasticsearch/Version.java @@ -108,8 +108,12 @@ public class Version implements Comparable { public static final Version V_5_1_3_UNRELEASED = new Version(V_5_1_3_ID_UNRELEASED, org.apache.lucene.util.Version.LUCENE_6_3_0); public static final int V_5_2_0_ID_UNRELEASED = 5020099; public static final Version V_5_2_0_UNRELEASED = new Version(V_5_2_0_ID_UNRELEASED, org.apache.lucene.util.Version.LUCENE_6_3_0); + public static final int V_5_2_1_ID_UNRELEASED = 5020199; + public static final Version V_5_2_1_UNRELEASED = new Version(V_5_2_1_ID_UNRELEASED, org.apache.lucene.util.Version.LUCENE_6_3_0); public static final int V_5_3_0_ID_UNRELEASED = 5030099; public static final Version V_5_3_0_UNRELEASED = new Version(V_5_3_0_ID_UNRELEASED, org.apache.lucene.util.Version.LUCENE_6_4_0); + public static final int V_5_4_0_ID_UNRELEASED = 5040099; + public static final Version V_5_4_0_UNRELEASED = new Version(V_5_4_0_ID_UNRELEASED, org.apache.lucene.util.Version.LUCENE_6_4_0); public static final int V_6_0_0_alpha1_ID_UNRELEASED = 6000001; public static final Version V_6_0_0_alpha1_UNRELEASED = new Version(V_6_0_0_alpha1_ID_UNRELEASED, org.apache.lucene.util.Version.LUCENE_6_4_0); @@ -130,8 +134,12 @@ public class Version implements Comparable { switch (id) { case V_6_0_0_alpha1_ID_UNRELEASED: return V_6_0_0_alpha1_UNRELEASED; + case V_5_4_0_ID_UNRELEASED: + return V_5_4_0_UNRELEASED; case V_5_3_0_ID_UNRELEASED: return V_5_3_0_UNRELEASED; + case V_5_2_1_ID_UNRELEASED: + return V_5_2_1_UNRELEASED; case V_5_2_0_ID_UNRELEASED: return V_5_2_0_UNRELEASED; case V_5_1_3_ID_UNRELEASED: diff --git a/core/src/test/resources/indices/bwc/index-5.2.0.zip b/core/src/test/resources/indices/bwc/index-5.2.0.zip new file mode 100644 index 00000000000..9b9ce528a43 Binary files /dev/null and b/core/src/test/resources/indices/bwc/index-5.2.0.zip differ diff --git a/core/src/test/resources/indices/bwc/repo-5.2.0.zip b/core/src/test/resources/indices/bwc/repo-5.2.0.zip new file mode 100644 index 00000000000..ac9a8c4dd51 Binary files /dev/null and b/core/src/test/resources/indices/bwc/repo-5.2.0.zip differ