Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
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 |
---|---|
protected Version |
LiveIndexWriterConfig.matchVersion
Version that IndexWriter should emulate. |
Modifier and Type | Method and Description |
---|---|
Version |
SegmentInfo.getVersion()
Returns the version of the code which wrote the segment.
|
Modifier and Type | Method and Description |
---|---|
void |
SegmentInfo.setVersion(Version version)
Used by DefaultSegmentInfosReader to upgrade a 3.0 segment to record its
version is "3.0".
|
Constructor and Description |
---|
IndexUpgrader(Directory dir,
Version matchVersion)
Creates index upgrader on the given directory, using an
IndexWriter using the given
matchVersion . |
IndexUpgrader(Directory dir,
Version matchVersion,
InfoStream infoStream,
boolean deletePriorCommits)
Creates index upgrader on the given directory, using an
IndexWriter using the given
matchVersion . |
IndexWriterConfig(Version matchVersion,
Analyzer analyzer)
|
SegmentInfo(Directory dir,
Version version,
String name,
int docCount,
boolean isCompoundFile,
Codec codec,
Map<String,String> diagnostics)
Construct a new complete SegmentInfo instance from input.
|
SegmentInfo(Directory dir,
Version version,
String name,
int docCount,
boolean isCompoundFile,
Codec codec,
Map<String,String> diagnostics,
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_3_0
Deprecated.
Bad naming of constant; use
LUCENE_3_0_0 instead. |
static Version |
Version.LUCENE_3_0_0
Deprecated.
(4.0) Use latest
|
static Version |
Version.LUCENE_3_1
Deprecated.
Bad naming of constant; use
LUCENE_3_1_0 instead. |
static Version |
Version.LUCENE_3_1_0
Deprecated.
(4.0) Use latest
|
static Version |
Version.LUCENE_3_2
Deprecated.
Bad naming of constant; use
LUCENE_3_2_0 instead. |
static Version |
Version.LUCENE_3_2_0
Deprecated.
(4.0) Use latest
|
static Version |
Version.LUCENE_3_3
Deprecated.
Bad naming of constant; use
LUCENE_3_3_0 instead. |
static Version |
Version.LUCENE_3_3_0
Deprecated.
(4.0) Use latest
|
static Version |
Version.LUCENE_3_4
Deprecated.
Bad naming of constant; use
LUCENE_3_4_0 instead. |
static Version |
Version.LUCENE_3_4_0
Deprecated.
(4.0) Use latest
|
static Version |
Version.LUCENE_3_5
Deprecated.
Bad naming of constant; use
LUCENE_3_5_0 instead. |
static Version |
Version.LUCENE_3_5_0
Deprecated.
(4.0) Use latest
|
static Version |
Version.LUCENE_3_6
Deprecated.
Bad naming of constant; use
LUCENE_3_6_0 instead. |
static Version |
Version.LUCENE_3_6_0
Deprecated.
(4.0) Use latest
|
static Version |
Version.LUCENE_30
Deprecated.
Bad naming of constant; use
LUCENE_3_0_0 instead. |
static Version |
Version.LUCENE_31
Deprecated.
Bad naming of constant; use
LUCENE_3_1_0 instead. |
static Version |
Version.LUCENE_32
Deprecated.
Bad naming of constant; use
LUCENE_3_2_0 instead. |
static Version |
Version.LUCENE_33
Deprecated.
Bad naming of constant; use
LUCENE_3_3_0 instead. |
static Version |
Version.LUCENE_34
Deprecated.
Bad naming of constant; use
LUCENE_3_4_0 instead. |
static Version |
Version.LUCENE_35
Deprecated.
Bad naming of constant; use
LUCENE_3_5_0 instead. |
static Version |
Version.LUCENE_36
Deprecated.
Bad naming of constant; use
LUCENE_3_6_0 instead. |
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.
(4.1) Use latest
|
static Version |
Version.LUCENE_4_0_0_ALPHA
Deprecated.
(4.1) Use latest
|
static Version |
Version.LUCENE_4_0_0_BETA
Deprecated.
(4.1) 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.
(4.2) Use latest
|
static Version |
Version.LUCENE_4_10_0
Deprecated.
Use latest
|
static Version |
Version.LUCENE_4_10_1
Deprecated.
Use latest
|
static Version |
Version.LUCENE_4_10_2
Deprecated.
Use latest
|
static Version |
Version.LUCENE_4_10_3
Match settings and bugs in Lucene's 4.10.2 release.
|
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.
(4.3) Use latest
|
static Version |
Version.LUCENE_4_2_1
Deprecated.
(4.3) 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.
(4.4) Use latest
|
static Version |
Version.LUCENE_4_3_1
Deprecated.
(4.6) 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.
(4.7) 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.
(4.8) 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.
(4.9) Use latest
|
static Version |
Version.LUCENE_4_8_1
Deprecated.
(4.10) 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_40
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_41
Deprecated.
Bad naming of constant; use
LUCENE_4_1_0 instead. |
static Version |
Version.LUCENE_42
Deprecated.
Bad naming of constant; use
LUCENE_4_2_0 instead. |
static Version |
Version.LUCENE_43
Deprecated.
Bad naming of constant; use
LUCENE_4_3_0 instead. |
static Version |
Version.LUCENE_44
Deprecated.
Bad naming of constant; use
LUCENE_4_4_0 instead. |
static Version |
Version.LUCENE_45
Deprecated.
Bad naming of constant; use
LUCENE_4_5_0 instead. |
static Version |
Version.LUCENE_46
Deprecated.
Bad naming of constant; use
LUCENE_4_6_0 instead. |
static Version |
Version.LUCENE_47
Deprecated.
Bad naming of constant; use
LUCENE_4_7_0 instead. |
static Version |
Version.LUCENE_48
Deprecated.
Bad naming of constant; use
LUCENE_4_8_0 instead. |
static Version |
Version.LUCENE_CURRENT
Deprecated.
Use
LATEST |
Modifier and Type | Method and Description |
---|---|
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-2014 Apache Software Foundation. All Rights Reserved.