The TermFreqVector type exposes the following members.

Methods

  NameDescription
Public methodGetField
The {@link Lucene.Net.Documents.Fieldable} name.
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.
Public methodGetTerms
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.
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.
Public methodSize

See Also