move to 1.0.0.Beta1 snap

This commit is contained in:
Shay Banon 2013-04-29 13:51:09 +02:00
parent cb75ce0caa
commit 6c3bb4dcdd
2 changed files with 12 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.elasticsearch</groupId> <groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId> <artifactId>elasticsearch</artifactId>
<version>0.90.0</version> <version>1.0.0.Beta1-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<description>ElasticSearch - Open Source, Distributed, RESTful Search Engine</description> <description>ElasticSearch - Open Source, Distributed, RESTful Search Engine</description>
<inceptionYear>2009</inceptionYear> <inceptionYear>2009</inceptionYear>

View File

@ -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 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 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 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 { public static Version readVersion(StreamInput in) throws IOException {
return fromId(in.readVInt()); return fromId(in.readVInt());
@ -129,6 +134,11 @@ public class Version implements Serializable {
public static Version fromId(int id) { public static Version fromId(int id) {
switch (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: case V_0_90_0_ID:
return V_0_90_0; return V_0_90_0;
case V_0_90_0_RC2_ID: case V_0_90_0_RC2_ID: