Lucene.Net 1.9.1 Class Library

TermVectorsWriter.AddTerm Method (String, Int32)

Add term to the field's term vector. Field 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