move to 1.0.0.Beta1 snap
This commit is contained in:
parent
cb75ce0caa
commit
6c3bb4dcdd
2
pom.xml
2
pom.xml
|
@ -6,7 +6,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.elasticsearch</groupId>
|
||||
<artifactId>elasticsearch</artifactId>
|
||||
<version>0.90.0</version>
|
||||
<version>1.0.0.Beta1-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
<description>ElasticSearch - Open Source, Distributed, RESTful Search Engine</description>
|
||||
<inceptionYear>2009</inceptionYear>
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue