Apache Lucene.Net 2.1 Class Library API

TermVectorsWriter.AddTerm Method (String, Int32)

Add term to the field's term vector. Fieldable must already be open. Terms should be added in increasing order of terms, one call per unique termNum. ProxPointer is a pointer into the TermPosition file (prx). Freq is the number of times this term appears in this field, in this document.

public void AddTerm(
   string termText,
   int freq
);

See Also

TermVectorsWriter Class | Lucene.Net.Index Namespace | TermVectorsWriter.AddTerm Overload List