From e0f711a94ab2b98a9dc081f703d3232852a15cda Mon Sep 17 00:00:00 2001 From: synhershko Date: Wed, 23 Jan 2013 16:18:18 +0200 Subject: [PATCH] Updating Lucene version --- src/main/java/org/elasticsearch/common/lucene/Lucene.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/common/lucene/Lucene.java b/src/main/java/org/elasticsearch/common/lucene/Lucene.java index b0bd62b6c8d..0b653a54149 100644 --- a/src/main/java/org/elasticsearch/common/lucene/Lucene.java +++ b/src/main/java/org/elasticsearch/common/lucene/Lucene.java @@ -42,7 +42,7 @@ import java.lang.reflect.Field; */ public class Lucene { - public static final Version VERSION = Version.LUCENE_40; + public static final Version VERSION = Version.LUCENE_41; public static final Version ANALYZER_VERSION = VERSION; public static final Version QUERYPARSER_VERSION = VERSION; @@ -57,6 +57,9 @@ public class Lucene { if (version == null) { return defaultVersion; } + if ("4.1".equals(version)) { + return Version.LUCENE_41; + } if ("4.0".equals(version)) { return Version.LUCENE_40; }