Retrieve the term vector for the given document and field

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

Syntax

C#
public virtual TermFreqVector Get(
	int docNum,
	string field
)
Visual Basic
Public Overridable Function Get ( _
	docNum As Integer, _
	field As String _
) As TermFreqVector
Visual C++
public:
virtual TermFreqVector^ Get(
	int docNum, 
	String^ field
)

Parameters

docNum
Type: System..::..Int32
The document number to retrieve the vector for
field
Type: System..::..String
The field within the document to retrieve

Return Value

The TermFreqVector for the document and field or null if there is no termVector for this field.

See Also