From 1755ae747026b239a9b3b4ed0f5cf7f25cfffa2c Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Wed, 16 Apr 2014 17:21:08 +0200 Subject: [PATCH] Added version constants for 1.1.2 and 1.0.4 --- src/main/java/org/elasticsearch/Version.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/org/elasticsearch/Version.java b/src/main/java/org/elasticsearch/Version.java index 68be61e43bc..f5b416799ed 100644 --- a/src/main/java/org/elasticsearch/Version.java +++ b/src/main/java/org/elasticsearch/Version.java @@ -167,10 +167,14 @@ public class Version implements Serializable { public static final Version V_1_0_2 = new Version(V_1_0_2_ID, false, org.apache.lucene.util.Version.LUCENE_46); public static final int V_1_0_3_ID = /*00*/1000399; public static final Version V_1_0_3 = new Version(V_1_0_3_ID, false, org.apache.lucene.util.Version.LUCENE_46); + public static final int V_1_0_4_ID = /*00*/1000499; + public static final Version V_1_0_4 = new Version(V_1_0_3_ID, false, org.apache.lucene.util.Version.LUCENE_46); public static final int V_1_1_0_ID = /*00*/1010099; public static final Version V_1_1_0 = new Version(V_1_1_0_ID, false, org.apache.lucene.util.Version.LUCENE_47); public static final int V_1_1_1_ID = /*00*/1010199; public static final Version V_1_1_1 = new Version(V_1_1_1_ID, false, org.apache.lucene.util.Version.LUCENE_47); + public static final int V_1_1_2_ID = /*00*/1010299; + public static final Version V_1_1_2 = new Version(V_1_1_2_ID, false, org.apache.lucene.util.Version.LUCENE_47); public static final int V_1_2_0_ID = /*00*/1020099; public static final Version V_1_2_0 = new Version(V_1_2_0_ID, false, org.apache.lucene.util.Version.LUCENE_47); public static final int V_2_0_0_ID = /*00*/2000099; @@ -192,10 +196,14 @@ public class Version implements Serializable { return V_2_0_0; case V_1_2_0_ID: return V_1_2_0; + case V_1_1_2_ID: + return V_1_1_2; case V_1_1_1_ID: return V_1_1_1; case V_1_1_0_ID: return V_1_1_0; + case V_1_0_4_ID: + return V_1_0_4; case V_1_0_3_ID: return V_1_0_3; case V_1_0_2_ID: