From acf6132a99eff5d4bc33b765f03afb4e99506ad4 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Wed, 7 Jan 2015 22:13:12 +0100 Subject: [PATCH] Fix 1.5.0 Lucene version constant --- src/main/java/org/elasticsearch/Version.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/Version.java b/src/main/java/org/elasticsearch/Version.java index 060b9b5fa25..806fa921fd5 100644 --- a/src/main/java/org/elasticsearch/Version.java +++ b/src/main/java/org/elasticsearch/Version.java @@ -222,7 +222,7 @@ public class Version implements Serializable { public static final int V_1_4_3_ID = /*00*/1040399; public static final Version V_1_4_3 = new Version(V_1_4_3_ID, false, org.apache.lucene.util.Version.LUCENE_4_10_2); public static final int V_1_5_0_ID = /*00*/1050099; - public static final Version V_1_5_0 = new Version(V_1_5_0_ID, false, org.apache.lucene.util.Version.LUCENE_4_10_2); + public static final Version V_1_5_0 = new Version(V_1_5_0_ID, false, org.apache.lucene.util.Version.fromBits(4, 10, 3)); // TODO change this to a constant once we update the snapshot 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_5_0_0);