the documentation already responds to this, as Xodorap notes in the comment.
The returned object TermFreqVectorcan retrieve which terms (words created by your analyzer) the field contains and how many times each of these terms exists in this field.
TermFreqVector TermPositionVector, TermVector.WITH_OFFSETS, TermVector.WITH_POSITIONS TermVector.WITH_POSITIONS_OFFSETS. GetTermPositions, , , GetOffsets, , . Store.YES .
Contrib Lucene .