public enum Version extends Enum<Version>
WARNING: When changing the version parameter that you supply to components in Lucene, do not simply change the version at search-time, but instead also adjust your indexing code to match, and re-index.
Enum Constant and Description |
---|
LUCENE_3_0
Deprecated.
(4.0) Use latest
|
LUCENE_3_1
Deprecated.
(4.0) Use latest
|
LUCENE_3_2
Deprecated.
(4.0) Use latest
|
LUCENE_3_3
Deprecated.
(4.0) Use latest
|
LUCENE_3_4
Deprecated.
(4.0) Use latest
|
LUCENE_3_5
Deprecated.
(4.0) Use latest
|
LUCENE_3_6
Deprecated.
(4.0) Use latest
|
LUCENE_4_0
Deprecated.
(4.1) Use latest
|
LUCENE_4_1
Deprecated.
(4.2) Use latest
|
LUCENE_4_2
Deprecated.
(4.3) Use latest
|
LUCENE_4_3
Deprecated.
(4.4) Use latest
|
LUCENE_4_4
Deprecated.
(4.5) Use latest
|
LUCENE_4_5
Deprecated.
(4.6) Use latest
|
LUCENE_4_6
Deprecated.
(4.7) Use latest
|
LUCENE_4_7
Deprecated.
(4.8) Use latest
|
LUCENE_4_8
Deprecated.
(4.9) Use latest
|
LUCENE_4_9
Match settings and bugs in Lucene's 4.9 release.
|
LUCENE_CURRENT
Deprecated.
Use an actual version instead.
|
Modifier and Type | Field and Description |
---|---|
static Version |
LUCENE_30
Deprecated.
Bad naming of constant; use
LUCENE_3_0 instead. |
static Version |
LUCENE_31
Deprecated.
Bad naming of constant; use
LUCENE_3_1 instead. |
static Version |
LUCENE_32
Deprecated.
Bad naming of constant; use
LUCENE_3_2 instead. |
static Version |
LUCENE_33
Deprecated.
Bad naming of constant; use
LUCENE_3_3 instead. |
static Version |
LUCENE_34
Deprecated.
Bad naming of constant; use
LUCENE_3_4 instead. |
static Version |
LUCENE_35
Deprecated.
Bad naming of constant; use
LUCENE_3_5 instead. |
static Version |
LUCENE_36
Deprecated.
Bad naming of constant; use
LUCENE_3_6 instead. |
static Version |
LUCENE_40
Deprecated.
Bad naming of constant; use
LUCENE_4_0 instead. |
static Version |
LUCENE_41
Deprecated.
Bad naming of constant; use
LUCENE_4_1 instead. |
static Version |
LUCENE_42
Deprecated.
Bad naming of constant; use
LUCENE_4_2 instead. |
static Version |
LUCENE_43
Deprecated.
Bad naming of constant; use
LUCENE_4_3 instead. |
static Version |
LUCENE_44
Deprecated.
Bad naming of constant; use
LUCENE_4_4 instead. |
static Version |
LUCENE_45
Deprecated.
Bad naming of constant; use
LUCENE_4_5 instead. |
static Version |
LUCENE_46
Deprecated.
Bad naming of constant; use
LUCENE_4_6 instead. |
static Version |
LUCENE_47
Deprecated.
Bad naming of constant; use
LUCENE_4_7 instead. |
static Version |
LUCENE_48
Deprecated.
Bad naming of constant; use
LUCENE_4_8 instead. |
Modifier and Type | Method and Description |
---|---|
boolean |
onOrAfter(Version other) |
static Version |
parseLeniently(String version) |
static Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final Version LUCENE_3_0
@Deprecated public static final Version LUCENE_3_1
@Deprecated public static final Version LUCENE_3_2
@Deprecated public static final Version LUCENE_3_3
@Deprecated public static final Version LUCENE_3_4
@Deprecated public static final Version LUCENE_3_5
@Deprecated public static final Version LUCENE_3_6
@Deprecated public static final Version LUCENE_4_0
@Deprecated public static final Version LUCENE_4_1
@Deprecated public static final Version LUCENE_4_2
@Deprecated public static final Version LUCENE_4_3
@Deprecated public static final Version LUCENE_4_4
@Deprecated public static final Version LUCENE_4_5
@Deprecated public static final Version LUCENE_4_6
@Deprecated public static final Version LUCENE_4_7
@Deprecated public static final Version LUCENE_4_8
public static final Version LUCENE_4_9
Use this to get the latest & greatest settings, bug fixes, etc, for Lucene.
@Deprecated public static final Version LUCENE_CURRENT
WARNING: if you use this setting, and then upgrade to a newer release of Lucene, sizable changes may happen. If backwards compatibility is important then you should instead explicitly specify an actual version.
If you use this constant then you may need to re-index all of your documents when upgrading Lucene, as the way text is indexed may have changed. Additionally, you may need to re-test your entire application to ensure it behaves as expected, as some defaults may have changed and may break functionality in your application.
@Deprecated public static final Version LUCENE_30
LUCENE_3_0
instead.@Deprecated public static final Version LUCENE_31
LUCENE_3_1
instead.@Deprecated public static final Version LUCENE_32
LUCENE_3_2
instead.@Deprecated public static final Version LUCENE_33
LUCENE_3_3
instead.@Deprecated public static final Version LUCENE_34
LUCENE_3_4
instead.@Deprecated public static final Version LUCENE_35
LUCENE_3_5
instead.@Deprecated public static final Version LUCENE_36
LUCENE_3_6
instead.@Deprecated public static final Version LUCENE_40
LUCENE_4_0
instead.@Deprecated public static final Version LUCENE_41
LUCENE_4_1
instead.@Deprecated public static final Version LUCENE_42
LUCENE_4_2
instead.@Deprecated public static final Version LUCENE_43
LUCENE_4_3
instead.@Deprecated public static final Version LUCENE_44
LUCENE_4_4
instead.@Deprecated public static final Version LUCENE_45
LUCENE_4_5
instead.@Deprecated public static final Version LUCENE_46
LUCENE_4_6
instead.@Deprecated public static final Version LUCENE_47
LUCENE_4_7
instead.@Deprecated public static final Version LUCENE_48
LUCENE_4_8
instead.public static Version[] values()
for (Version c : Version.values()) System.out.println(c);
public static Version valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean onOrAfter(Version other)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.