Move to [2.0] snap

This commit is contained in:
Simon Willnauer 2014-01-21 17:07:39 +01:00
parent 882fbb72fd
commit 53192919c6
2 changed files with 7 additions and 3 deletions

View File

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

View File

@ -150,9 +150,11 @@ public class Version implements Serializable {
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, false, org.apache.lucene.util.Version.LUCENE_46);
public static final int V_1_0_0_ID = /*00*/1000099;
public static final Version V_1_0_0 = new Version(V_1_0_0_ID, true, org.apache.lucene.util.Version.LUCENE_46);
public static final Version V_1_0_0 = new Version(V_1_0_0_ID, false, org.apache.lucene.util.Version.LUCENE_46);
public static final int V_2_0_0_ID = /*00*/2000099;
public static final Version V_2_0_0 = new Version(V_2_0_0_ID, true, org.apache.lucene.util.Version.LUCENE_46);
public static final Version CURRENT = V_1_0_0;
public static final Version CURRENT = V_2_0_0;
static {
assert CURRENT.luceneVersion == Lucene.VERSION : "Version must be upgraded to [" + Lucene.VERSION + "] is still set to [" + CURRENT.luceneVersion + "]";
@ -164,6 +166,8 @@ public class Version implements Serializable {
public static Version fromId(int id) {
switch (id) {
case V_2_0_0_ID:
return V_2_0_0;
case V_1_0_0_ID:
return V_1_0_0;
case V_1_0_0_RC1_ID: