Move to [2.0] snap
This commit is contained in:
parent
882fbb72fd
commit
53192919c6
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue