java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | org.apache.lucene.document.Field.TermVector |
Specifies whether and how a field should have term vectors.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Field.TermVector | NO | Do not store term vectors. | |||||||||
Field.TermVector | WITH_OFFSETS | Store the term vector + Token offset information | |||||||||
Field.TermVector | WITH_POSITIONS | Store the term vector + token position information | |||||||||
Field.TermVector | WITH_POSITIONS_OFFSETS | Store the term vector + Token position and offset information | |||||||||
Field.TermVector | YES | Store the term vectors of each document. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the best representation of a TermVector given the flags.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Store the term vector + Token offset information
Store the term vector + token position information
Store the term vector + Token position and offset information
Store the term vectors of each document. A term vector is a list of the document's terms and their number of occurrences in that document.
Get the best representation of a TermVector given the flags.