Package org.apache.lucene.index
Interface IndexableFieldType
-
- All Known Implementing Classes:
FieldType
public interface IndexableFieldTypeDescribes the properties of a field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldInfo.DocValuesTypedocValueType()DocValuesFieldInfo.DocValuesType: if non-null then the field's value will be indexed into docValues.booleanindexed()True if this field should be indexed (inverted)FieldInfo.IndexOptionsindexOptions()FieldInfo.IndexOptions, describing what should be recorded into the inverted indexbooleanomitNorms()True if normalization values should be omitted for the field.booleanstored()True if the field's value should be storedbooleanstoreTermVectorOffsets()True if this field's token character offsets should also be stored into term vectors.booleanstoreTermVectorPayloads()True if this field's token payloads should also be stored into the term vectors.booleanstoreTermVectorPositions()True if this field's token positions should also be stored into the term vectors.booleanstoreTermVectors()True if this field's indexed form should be also stored into term vectors.booleantokenized()True if this field's value should be analyzed by theAnalyzer.
-
-
-
Method Detail
-
indexed
boolean indexed()
True if this field should be indexed (inverted)
-
stored
boolean stored()
True if the field's value should be stored
-
tokenized
boolean tokenized()
-
storeTermVectors
boolean storeTermVectors()
True if this field's indexed form should be also stored into term vectors.This builds a miniature inverted-index for this field which can be accessed in a document-oriented way from
IndexReader.getTermVector(int,String).This option is illegal if
indexed()returns false.
-
storeTermVectorOffsets
boolean storeTermVectorOffsets()
True if this field's token character offsets should also be stored into term vectors.This option is illegal if term vectors are not enabled for the field (
storeTermVectors()is false)
-
storeTermVectorPositions
boolean storeTermVectorPositions()
True if this field's token positions should also be stored into the term vectors.This option is illegal if term vectors are not enabled for the field (
storeTermVectors()is false).
-
storeTermVectorPayloads
boolean storeTermVectorPayloads()
True if this field's token payloads should also be stored into the term vectors.This option is illegal if term vector positions are not enabled for the field (
storeTermVectors()is false).
-
omitNorms
boolean omitNorms()
True if normalization values should be omitted for the field.This saves memory, but at the expense of scoring quality (length normalization will be disabled), and if you omit norms, you cannot use index-time boosts.
-
indexOptions
FieldInfo.IndexOptions indexOptions()
FieldInfo.IndexOptions, describing what should be recorded into the inverted index
-
docValueType
FieldInfo.DocValuesType docValueType()
DocValuesFieldInfo.DocValuesType: if non-null then the field's value will be indexed into docValues.
-
-