Package | Description |
---|---|
org.apache.lucene.analysis |
Text analysis.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
Version |
Analyzer.getVersion()
Return the version of Lucene this analyzer will mimic the behavior of for analysis.
|
Modifier and Type | Method and Description |
---|---|
void |
Analyzer.setVersion(Version v)
Set the version of Lucene this analyzer should mimic the behavior for for analysis.
|
Modifier and Type | Field and Description |
---|---|
Version |
CheckIndex.Status.SegmentInfoStatus.version
Version the segment was written with
|
Modifier and Type | Method and Description |
---|---|
Version |
SegmentInfos.getCommitLuceneVersion()
Returns which Lucene
Version wrote this commit, or null if the
version this index was written with did not directly record the version. |
Version |
SegmentInfos.getMinSegmentLuceneVersion()
Returns the version of the oldest segment, or null if there are no segments.
|
Version |
SegmentInfo.getVersion()
Returns the version of the code which wrote the segment.
|
Constructor and Description |
---|
SegmentInfo(Directory dir,
Version version,
String name,
int maxDoc,
boolean isCompoundFile,
Codec codec,
Map<String,String> diagnostics,
byte[] id,
Map<String,String> attributes)
Construct a new complete SegmentInfo instance from input.
|
Modifier and Type | Field and Description |
---|---|
static Version |
Version.LATEST
WARNING: if you use this setting, and then
upgrade to a newer release of Lucene, sizable changes
may happen.
|
static Version |
Version.LUCENE_4_0
Deprecated.
Bad naming of constant; use
LUCENE_4_0_0 instead (this constant actually points to LUCENE_4_0_0_ALPHA to match whole 4.0 series). |
static Version |
Version.LUCENE_4_0_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_0_0_ALPHA
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_0_0_BETA
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_1
Deprecated.
Bad naming of constant; use
LUCENE_4_1_0 instead. |
static Version |
Version.LUCENE_4_1_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_10_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_10_1
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_10_2
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_10_3
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_10_4
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_2
Deprecated.
Bad naming of constant; use
LUCENE_4_2_0 instead. |
static Version |
Version.LUCENE_4_2_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_2_1
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_3
Deprecated.
Bad naming of constant; use
LUCENE_4_3_0 instead. |
static Version |
Version.LUCENE_4_3_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_3_1
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_4
Deprecated.
Bad naming of constant; use
LUCENE_4_4_0 instead. |
static Version |
Version.LUCENE_4_4_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_5
Deprecated.
Bad naming of constant; use
LUCENE_4_5_0 instead. |
static Version |
Version.LUCENE_4_5_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_5_1
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_6
Deprecated.
Bad naming of constant; use
LUCENE_4_6_0 instead. |
static Version |
Version.LUCENE_4_6_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_6_1
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_7
Deprecated.
Bad naming of constant; use
LUCENE_4_7_0 instead. |
static Version |
Version.LUCENE_4_7_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_7_1
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_7_2
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_8
Deprecated.
Bad naming of constant; use
LUCENE_4_8_0 instead. |
static Version |
Version.LUCENE_4_8_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_8_1
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_9
Deprecated.
Bad naming of constant; use
LUCENE_4_9_0 instead. |
static Version |
Version.LUCENE_4_9_0
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_4_9_1
Deprecated.
(5.0) Use latest
|
static Version |
Version.LUCENE_5_0_0
Deprecated.
(5.1.0) Use latest
|
static Version |
Version.LUCENE_5_1_0
Deprecated.
(5.2.0) Use latest
|
static Version |
Version.LUCENE_5_2_0
Deprecated.
(5.3.0) Use latest
|
static Version |
Version.LUCENE_5_2_1
Deprecated.
Use latest
|
static Version |
Version.LUCENE_5_3_0
Deprecated.
(5.4.0) Use latest
|
static Version |
Version.LUCENE_5_3_1
Deprecated.
Use latest
|
static Version |
Version.LUCENE_5_4_0
Match settings and bugs in Lucene's 5.4.0 release.
|
static Version |
Version.LUCENE_CURRENT
Deprecated.
Use
LATEST |
Modifier and Type | Method and Description |
---|---|
static Version |
Version.fromBits(int major,
int minor,
int bugfix)
Returns a new version based on raw numbers
|
static Version |
Version.parse(String version)
Parse a version number of the form
"major.minor.bugfix.prerelease" . |
static Version |
Version.parseLeniently(String version)
Parse the given version number as a constant or dot based version.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Version.onOrAfter(Version other)
Returns true if this version is the same or after the version from the argument.
|
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.