lucene 3.5 verison
This commit is contained in:
parent
21405f5aa4
commit
1f5a74a91a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue