Apache Lucene.Net 2.1 Class Library API

TermVectorsWriter.AddTerm Method

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.

Overload List

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,int);

 

public void AddTerm(string,int,int[],TermVectorOffsetInfo[]);

See Also

TermVectorsWriter Class | Lucene.Net.Index Namespace