|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.util.Parameter
org.apache.lucene.util.Version
public final class Version
Use by certain classes to match version compatibility across releases of Lucene.
| Field Summary | |
|---|---|
static Version |
LUCENE_20
Match settings and bugs in Lucene's 2.0 release. |
static Version |
LUCENE_21
Match settings and bugs in Lucene's 2.1 release. |
static Version |
LUCENE_22
Match settings and bugs in Lucene's 2.2 release. |
static Version |
LUCENE_23
Match settings and bugs in Lucene's 2.3 release. |
static Version |
LUCENE_24
Match settings and bugs in Lucene's 2.4 release. |
static Version |
LUCENE_29
Match settings and bugs in Lucene's 2.9 release. |
static Version |
LUCENE_CURRENT
Use this to get the latest & greatest settings, bug fixes, etc, for Lucene. |
| Constructor Summary | |
|---|---|
Version(String name,
int v)
|
|
| Method Summary | |
|---|---|
boolean |
onOrAfter(Version other)
|
| Methods inherited from class org.apache.lucene.util.Parameter |
|---|
readResolve, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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 precise back compatibility is important then you should instead explicitly specify an actual version.
public static final Version LUCENE_20
public static final Version LUCENE_21
public static final Version LUCENE_22
public static final Version LUCENE_23
public static final Version LUCENE_24
public static final Version LUCENE_29
| Constructor Detail |
|---|
public Version(String name,
int v)
| Method Detail |
|---|
public boolean onOrAfter(Version other)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||