From 2c8ee3fbbe6fbe0197bab10de8c80470247f6896 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 2 Dec 2013 17:10:07 +0100 Subject: [PATCH] Moving to 1.0.0RC1 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 e586d2dddea..bea074c9a5d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 org.elasticsearch elasticsearch - 1.0.0.Beta2 + 1.0.0.RC1-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 1f6ac08d1f7..03ac97ab6e2 100644 --- a/src/main/java/org/elasticsearch/Version.java +++ b/src/main/java/org/elasticsearch/Version.java @@ -141,8 +141,10 @@ public class Version implements Serializable { 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, false, org.apache.lucene.util.Version.LUCENE_46); + public static final int V_1_0_0_RC1_ID = /*00*/1000051; + public static final Version V_1_0_0_RC1 = new Version(V_1_0_0_RC1_ID, true, org.apache.lucene.util.Version.LUCENE_46); - public static final Version CURRENT = V_1_0_0_Beta2; + public static final Version CURRENT = V_1_0_0_RC1; static { assert CURRENT.luceneVersion == Lucene.VERSION : "Version must be upgraded to [" + Lucene.VERSION + "] is still set to [" + CURRENT.luceneVersion + "]"; @@ -154,6 +156,8 @@ public class Version implements Serializable { public static Version fromId(int id) { switch (id) { + case V_1_0_0_RC1_ID: + return V_1_0_0_RC1; case V_1_0_0_Beta2_ID: return V_1_0_0_Beta2; case V_1_0_0_Beta1_ID: