diff --git a/pom.xml b/pom.xml index c3dfb225c22..66a99f3650f 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 org.elasticsearch elasticsearch - 0.20.0.RC1 + 0.21.0.Beta1 jar ElasticSearch - Open Source, Distributed, RESTful Search Engine 2009 diff --git a/src/main/java/org/elasticsearch/Version.java b/src/main/java/org/elasticsearch/Version.java index f3b85d836f7..81f0b3f8735 100644 --- a/src/main/java/org/elasticsearch/Version.java +++ b/src/main/java/org/elasticsearch/Version.java @@ -89,7 +89,10 @@ public class Version implements Serializable { public static final int V_0_20_0_RC1_ID = /*00*/200051; public static final Version V_0_20_0_RC1 = new Version(V_0_20_0_RC1_ID, false); - public static final Version CURRENT = V_0_20_0_RC1; + public static final int V_0_21_0_Beta1_ID = /*00*/210001; + public static final Version V_0_21_0_Beta1 = new Version(V_0_21_0_Beta1_ID, false); + + public static final Version CURRENT = V_0_21_0_Beta1; public static Version readVersion(StreamInput in) throws IOException { return fromId(in.readVInt()); @@ -97,6 +100,9 @@ public class Version implements Serializable { public static Version fromId(int id) { switch (id) { + case V_0_21_0_Beta1_ID: + return V_0_21_0_Beta1; + case V_0_20_0_RC1_ID: return V_0_20_0_RC1;