java.lang.Object | ||
↳ | org.apache.lucene.index.TermVectorMapper | |
↳ | org.apache.lucene.index.PositionBasedTermVectorMapper |
For each Field, store position by position information. It ignores frequency information
This is not thread-safe.Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PositionBasedTermVectorMapper.TVPositionInfo | Container for a term at a position |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the mapping between fields and terms, sorted by the comparator
| |||||||||||
Never ignores positions.
| |||||||||||
Callback for the TermVectorReader.
| |||||||||||
Callback mechanism used by the TermVectorReader
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.index.TermVectorMapper
| |||||||||||
From class
java.lang.Object
|
Get the mapping between fields and terms, sorted by the comparator
PositionBasedTermVectorMapper.TVPositionInfo
.
Never ignores positions. This mapper doesn't make much sense unless there are positions
Callback for the TermVectorReader.
term | The term to add to the vector |
---|---|
frequency | The frequency of the term in the document |
offsets | null if the offset is not specified, otherwise the offset into the field of the term |
positions | null if the position is not specified, otherwise the position in the field of the term |
Callback mechanism used by the TermVectorReader
field | The field being read |
---|---|
numTerms | The number of terms in the vector |
storeOffsets | Whether offsets are available |
storePositions | Whether positions are available |