Apache Lucene.Net 2.4.0 Class Library API

IndexReader.GetTermFreqVector Method

Map all the term vectors for all fields in a Document

Overload List

Map all the term vectors for all fields in a Document

public abstract void GetTermFreqVector(int,TermVectorMapper);

Return a term frequency vector for the specified document and field. The returned vector contains terms and frequencies for the terms in the specified field of this document, if the field had the storeTermVector flag set. If termvectors had been stored with positions or offsets, a TermPositionsVector is returned.

public abstract TermFreqVector GetTermFreqVector(int,string);

Load the Term Vector into a user-defined data structure instead of relying on the parallel arrays of the {@link TermFreqVector}.

public abstract void GetTermFreqVector(int,string,TermVectorMapper);

See Also

IndexReader Class | Lucene.Net.Index Namespace