Apache Lucene.Net 2.1 Class Library API

TermVectorsReader.Get Method (Int32, String)

Retrieve the term vector for the given document and field

public virtual TermFreqVector Get(
   int docNum,
   string field
);

Parameters

docNum
The document number to retrieve the vector for
field
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

TermVectorsReader Class | Lucene.Net.Index Namespace | TermVectorsReader.Get Overload List