Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format. |
org.apache.lucene.codecs.lucene60 |
Components from the Lucene 6.0 index format.
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Field and Description |
---|---|
protected IndexOptions |
PushPostingsWriterBase.indexOptions
IndexOptions of current field being
written |
Modifier and Type | Method and Description |
---|---|
private static IndexOptions |
Lucene50FieldInfosFormat.getIndexOptions(IndexInput input,
byte b) |
Modifier and Type | Method and Description |
---|---|
private static byte |
Lucene50FieldInfosFormat.indexOptionsByte(IndexOptions indexOptions) |
Modifier and Type | Method and Description |
---|---|
private static IndexOptions |
Lucene60FieldInfosFormat.getIndexOptions(IndexInput input,
byte b) |
Modifier and Type | Method and Description |
---|---|
private static byte |
Lucene60FieldInfosFormat.indexOptionsByte(IndexOptions indexOptions) |
Modifier and Type | Field and Description |
---|---|
private IndexOptions |
FieldType.indexOptions |
Modifier and Type | Method and Description |
---|---|
IndexOptions |
FieldType.indexOptions()
IndexOptions , describing what should be
recorded into the inverted index |
Modifier and Type | Method and Description |
---|---|
void |
FieldType.setIndexOptions(IndexOptions value)
Sets the indexing options for the field:
|
Modifier and Type | Field and Description |
---|---|
private IndexOptions |
FieldInfo.indexOptions |
private IndexOptions |
SortingLeafReader.SortingTerms.indexOptions |
private IndexOptions |
SortingLeafReader.SortingTermsEnum.indexOptions |
(package private) IndexOptions |
FieldInvertState.indexOptions |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,IndexOptions> |
FieldInfos.FieldNumbers.indexOptions |
Modifier and Type | Method and Description |
---|---|
IndexOptions |
FieldInfo.getIndexOptions()
Returns IndexOptions for the field, or IndexOptions.NONE if the field is not indexed
|
IndexOptions |
FieldInvertState.getIndexOptions()
Get the index options for this field
|
IndexOptions |
IndexableFieldType.indexOptions()
IndexOptions , describing what should be
recorded into the inverted index |
static IndexOptions |
IndexOptions.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndexOptions[] |
IndexOptions.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
FieldInfos.FieldNumbers.addOrGet(java.lang.String fieldName,
int preferredFieldNumber,
IndexOptions indexOptions,
DocValuesType dvType,
int dataDimensionCount,
int indexDimensionCount,
int dimensionNumBytes,
boolean isSoftDeletesField)
Returns the global field number for the given field name.
|
private FieldInfo |
FieldInfos.Builder.addOrUpdateInternal(java.lang.String name,
int preferredFieldNumber,
boolean storeTermVector,
boolean omitNorms,
boolean storePayloads,
IndexOptions indexOptions,
DocValuesType docValues,
long dvGen,
java.util.Map<java.lang.String,java.lang.String> attributes,
int dataDimensionCount,
int indexDimensionCount,
int dimensionNumBytes,
boolean isSoftDeletesField) |
private void |
DefaultIndexingChain.initIndexOptions(FieldInfo info,
IndexOptions indexOptions) |
void |
FieldInfo.setIndexOptions(IndexOptions newIndexOptions)
Record the
IndexOptions to use with this field. |
(package private) void |
FieldInfos.FieldNumbers.setIndexOptions(int number,
java.lang.String name,
IndexOptions indexOptions) |
(package private) void |
FieldInfo.update(boolean storeTermVector,
boolean omitNorms,
boolean storePayloads,
IndexOptions indexOptions,
java.util.Map<java.lang.String,java.lang.String> attributes,
int dataDimensionCount,
int indexDimensionCount,
int dimensionNumBytes) |
(package private) void |
FieldInfos.FieldNumbers.verifyConsistent(java.lang.Integer number,
java.lang.String name,
IndexOptions indexOptions) |
Constructor and Description |
---|
FieldInfo(java.lang.String name,
int number,
boolean storeTermVector,
boolean omitNorms,
boolean storePayloads,
IndexOptions indexOptions,
DocValuesType docValues,
long dvGen,
java.util.Map<java.lang.String,java.lang.String> attributes,
int pointDataDimensionCount,
int pointIndexDimensionCount,
int pointNumBytes,
boolean softDeletesField)
Sole constructor.
|
FieldInvertState(int indexCreatedVersionMajor,
java.lang.String name,
IndexOptions indexOptions)
Creates {code FieldInvertState} for the specified
field name.
|
FieldInvertState(int indexCreatedVersionMajor,
java.lang.String name,
IndexOptions indexOptions,
int position,
int length,
int numOverlap,
int offset,
int maxTermFrequency,
int uniqueTermCount)
Creates {code FieldInvertState} for the specified
field name and values for all fields.
|
SortingTerms(Terms in,
IndexOptions indexOptions,
Sorter.DocMap docMap) |
SortingTermsEnum(TermsEnum in,
Sorter.DocMap docMap,
IndexOptions indexOptions,
boolean hasPositions) |