Package | Description |
---|---|
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 FieldInfo.IndexOptions |
AbstractField.indexOptions |
Modifier and Type | Method and Description |
---|---|
FieldInfo.IndexOptions |
Fieldable.getIndexOptions() |
FieldInfo.IndexOptions |
AbstractField.getIndexOptions() |
Modifier and Type | Method and Description |
---|---|
void |
Fieldable.setIndexOptions(FieldInfo.IndexOptions indexOptions)
Expert:
If set, omit term freq, and optionally positions and payloads from
postings for this field.
|
void |
AbstractField.setIndexOptions(FieldInfo.IndexOptions indexOptions)
Expert:
If set, omit term freq, and optionally also positions and payloads from
postings for this field.
|
Modifier and Type | Field and Description |
---|---|
FieldInfo.IndexOptions |
FieldInfo.indexOptions |
Modifier and Type | Method and Description |
---|---|
static FieldInfo.IndexOptions |
FieldInfo.IndexOptions.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldInfo.IndexOptions[] |
FieldInfo.IndexOptions.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
FieldInfo |
FieldInfos.add(String name,
boolean isIndexed,
boolean storeTermVector,
boolean omitNorms,
boolean storePayloads,
FieldInfo.IndexOptions indexOptions)
If the field is not yet known, adds it.
|