From 6c3bb4dcdd5de22cf35a6f7396e991a8f7acc080 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Mon, 29 Apr 2013 13:51:09 +0200 Subject: [PATCH] move to 1.0.0.Beta1 snap --- pom.xml | 2 +- src/main/java/org/elasticsearch/Version.java | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 604e25c1e0c..f5fe3474244 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 org.elasticsearch elasticsearch - 0.90.0 + 1.0.0.Beta1-SNAPSHOT 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 50dc67f1aa9..8fa0286ea38 100644 --- a/src/main/java/org/elasticsearch/Version.java +++ b/src/main/java/org/elasticsearch/Version.java @@ -120,8 +120,13 @@ public class Version implements Serializable { public static final Version V_0_90_0_RC2 = new Version(V_0_90_0_RC2_ID, false, org.apache.lucene.util.Version.LUCENE_42); public static final int V_0_90_0_ID = /*00*/900099; public static final Version V_0_90_0 = new Version(V_0_90_0_ID, false, org.apache.lucene.util.Version.LUCENE_42); + public static final int V_0_90_1_ID = /*00*/900199; + public static final Version V_0_90_1 = new Version(V_0_90_1_ID, false, org.apache.lucene.util.Version.LUCENE_42); - public static final Version CURRENT = V_0_90_0; + public static final int V_1_0_0_Beta1_ID = /*00*/1000001; + public static final Version V_1_0_0_Beta1 = new Version(V_1_0_0_Beta1_ID, true, org.apache.lucene.util.Version.LUCENE_41); + + public static final Version CURRENT = V_1_0_0_Beta1; public static Version readVersion(StreamInput in) throws IOException { return fromId(in.readVInt()); @@ -129,6 +134,11 @@ public class Version implements Serializable { public static Version fromId(int id) { switch (id) { + case V_1_0_0_Beta1_ID: + return V_1_0_0_Beta1; + + case V_0_90_1_ID: + return V_0_90_1; case V_0_90_0_ID: return V_0_90_0; case V_0_90_0_RC2_ID: