diff --git a/core/src/main/java/org/elasticsearch/Version.java b/core/src/main/java/org/elasticsearch/Version.java index fe794d96661..dd096c7a5ef 100644 --- a/core/src/main/java/org/elasticsearch/Version.java +++ b/core/src/main/java/org/elasticsearch/Version.java @@ -62,6 +62,8 @@ public class Version { public static final Version V_2_2_0 = new Version(V_2_2_0_ID, org.apache.lucene.util.Version.LUCENE_5_4_1); public static final int V_2_2_1_ID = 2020199; public static final Version V_2_2_1 = new Version(V_2_2_1_ID, org.apache.lucene.util.Version.LUCENE_5_4_1); + public static final int V_2_2_2_ID = 2020299; + public static final Version V_2_2_2 = new Version(V_2_2_2_ID, org.apache.lucene.util.Version.LUCENE_5_4_1); public static final int V_2_3_0_ID = 2030099; public static final Version V_2_3_0 = new Version(V_2_3_0_ID, org.apache.lucene.util.Version.LUCENE_5_5_0); public static final int V_5_0_0_alpha1_ID = 5000001; @@ -83,6 +85,8 @@ public class Version { return V_5_0_0_alpha1; case V_2_3_0_ID: return V_2_3_0; + case V_2_2_2_ID: + return V_2_2_2; case V_2_2_1_ID: return V_2_2_1; case V_2_2_0_ID: diff --git a/core/src/test/resources/indices/bwc/index-2.2.2.zip b/core/src/test/resources/indices/bwc/index-2.2.2.zip new file mode 100644 index 00000000000..3bfc063452c Binary files /dev/null and b/core/src/test/resources/indices/bwc/index-2.2.2.zip differ diff --git a/core/src/test/resources/indices/bwc/index-2.3.0.zip b/core/src/test/resources/indices/bwc/index-2.3.0.zip new file mode 100644 index 00000000000..4804ab9113a Binary files /dev/null and b/core/src/test/resources/indices/bwc/index-2.3.0.zip differ diff --git a/core/src/test/resources/indices/bwc/repo-2.2.2.zip b/core/src/test/resources/indices/bwc/repo-2.2.2.zip new file mode 100644 index 00000000000..89be554d1ac Binary files /dev/null and b/core/src/test/resources/indices/bwc/repo-2.2.2.zip differ diff --git a/core/src/test/resources/indices/bwc/repo-2.3.0.zip b/core/src/test/resources/indices/bwc/repo-2.3.0.zip new file mode 100644 index 00000000000..c8959273e14 Binary files /dev/null and b/core/src/test/resources/indices/bwc/repo-2.3.0.zip differ