Return a term frequency vector for the specified document and field. The vector returned contains term numbers and frequencies for all terms in the specified field of this document, if the field had storeTermVector flag set. If the flag was not set, the method returns null.

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

Syntax

C#
public override TermFreqVector GetTermFreqVector(
	int docNumber,
	string field
)
Visual Basic
Public Overrides Function GetTermFreqVector ( _
	docNumber As Integer, _
	field As String _
) As TermFreqVector
Visual C++
public:
virtual TermFreqVector^ GetTermFreqVector(
	int docNumber, 
	String^ field
) override

Parameters

docNumber
Type: System..::..Int32

[Missing <param name="docNumber"/> documentation for "M:Lucene.Net.Index.SegmentReader.GetTermFreqVector(System.Int32,System.String)"]

field
Type: System..::..String

[Missing <param name="field"/> documentation for "M:Lucene.Net.Index.SegmentReader.GetTermFreqVector(System.Int32,System.String)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.SegmentReader.GetTermFreqVector(System.Int32,System.String)"]

See Also