Return an array of term frequency vectors for the specified document. The array contains a vector for each vectorized field in the document. Each vector contains terms and frequencies for all terms in a given vectorized field. If no such fields existed, the method returns null. The term vectors that are returned may either be of type {@link TermFreqVector} or of type {@link TermPositionVector} if positions or offsets have been stored.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public abstract TermFreqVector[] GetTermFreqVectors(
	int docNumber
)
Visual Basic
Public MustOverride Function GetTermFreqVectors ( _
	docNumber As Integer _
) As TermFreqVector()
Visual C++
public:
virtual array<TermFreqVector^>^ GetTermFreqVectors(
	int docNumber
) abstract

Parameters

docNumber
Type: System..::..Int32
document for which term frequency vectors are returned

Return Value

array of term frequency vectors. May be null if no term vectors have been stored for the specified document.

See Also