From e1b6988886ee9b7dc5339df1478e1f8b0024a034 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Wed, 6 Nov 2013 16:19:50 +0100 Subject: [PATCH] move to [1.0.0.Beta2] SNAP --- pom.xml | 2 +- src/main/java/org/elasticsearch/Version.java | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index bd9de257917..c4450e1619d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 org.elasticsearch elasticsearch - 1.0.0.Beta1 + 1.0.0.Beta2-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 c2d77e4fd93..3582467d113 100644 --- a/src/main/java/org/elasticsearch/Version.java +++ b/src/main/java/org/elasticsearch/Version.java @@ -137,8 +137,10 @@ public class Version implements Serializable { 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, false, org.apache.lucene.util.Version.LUCENE_45); + public static final int V_1_0_0_Beta2_ID = /*00*/1000002; + public static final Version V_1_0_0_Beta2 = new Version(V_1_0_0_Beta2_ID, true, org.apache.lucene.util.Version.LUCENE_45); - public static final Version CURRENT = V_1_0_0_Beta1; + public static final Version CURRENT = V_1_0_0_Beta2; static { assert CURRENT.luceneVersion == Lucene.VERSION : "Version must be upgraded to [" + Lucene.VERSION + "] is still set to [" + CURRENT.luceneVersion + "]"; @@ -150,6 +152,8 @@ public class Version implements Serializable { public static Version fromId(int id) { switch (id) { + case V_1_0_0_Beta2_ID: + return V_1_0_0_Beta2; case V_1_0_0_Beta1_ID: return V_1_0_0_Beta1; case V_0_90_6_ID: