The TermPositionVector type exposes the following members.

Methods

  NameDescription
Public methodGetField
The {@link Lucene.Net.Documents.Fieldable} name.
(Inherited from TermFreqVector.)
Public methodGetOffsets
Returns an array of TermVectorOffsetInfo in which the term is found. May return null if offsets have not been stored.
Public methodGetTermFrequencies
Array of term frequencies. Locations of the array correspond one to one to the terms in the array obtained from
CopyC#
getTerms
method. Each location in the array contains the number of times this term occurs in the document or the document field.
(Inherited from TermFreqVector.)
Public methodGetTermPositions
Returns an array of positions in which the term is found. Terms are identified by the index at which its number appears in the term String array obtained from the
CopyC#
indexOf
method. May return null if positions have not been stored.
Public methodGetTerms (Inherited from TermFreqVector.)
Public methodIndexesOf
Just like
CopyC#
indexOf(int)
but searches for a number of terms at the same time. Returns an array that has the same size as the number of terms searched for, each slot containing the result of searching for that term number.
(Inherited from TermFreqVector.)
Public methodIndexOf
Return an index in the term numbers array returned from
CopyC#
getTerms
at which the term with the specified
CopyC#
term
appears. If this term does not appear in the array, return -1.
(Inherited from TermFreqVector.)
Public methodSize (Inherited from TermFreqVector.)

See Also