lucene 3.5 verison

This commit is contained in:
Shay Banon 2012-01-16 13:40:49 +02:00
parent 21405f5aa4
commit 1f5a74a91a
1 changed files with 4 additions and 1 deletions

View File

@ -44,7 +44,7 @@ import java.util.Map;
*/
public class Lucene {
public static final Version VERSION = Version.LUCENE_34;
public static final Version VERSION = Version.LUCENE_35;
public static final Version ANALYZER_VERSION = VERSION;
public static final Version QUERYPARSER_VERSION = VERSION;
@ -59,6 +59,9 @@ public class Lucene {
if (version == null) {
return defaultVersion;
}
if ("3.5".equals(version)) {
return Version.LUCENE_35;
}
if ("3.4".equals(version)) {
return Version.LUCENE_34;
}