Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
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 |
---|---|
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 | Method and Description |
---|---|
IndexOptions |
FieldInfo.getIndexOptions()
Returns IndexOptions for the field, or IndexOptions.NONE if the field is not indexed
|
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 |
---|---|
FieldsProducer |
RandomPostingsTester.buildIndex(Codec codec,
Directory dir,
IndexOptions maxAllowed,
boolean allowPayloads,
boolean alwaysTestMax) |
static RandomPostingsTester.SeedPostings |
RandomPostingsTester.getSeedPostings(java.lang.String term,
long seed,
IndexOptions options,
boolean allowPayloads) |
void |
FieldInfo.setIndexOptions(IndexOptions newIndexOptions)
Record the
IndexOptions to use with this field. |
void |
RandomPostingsTester.testFull(Codec codec,
java.nio.file.Path path,
IndexOptions options,
boolean withPayloads)
Indexes all fields/terms at the specified
IndexOptions, and fully tests at that IndexOptions.
|
void |
RandomPostingsTester.testTerms(Fields fieldsSource,
java.util.EnumSet<RandomPostingsTester.Option> options,
IndexOptions maxTestOptions,
IndexOptions maxIndexOptions,
boolean alwaysTestMax) |
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.
|
SeedPostings(long seed,
int minDocFreq,
int maxDocFreq,
IndexOptions options,
boolean allowPayloads) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.