DotLucene 1.4 API Documentation |

# TermVectorsWriter.AddTerm Method

Add term to the Field's term vector. Field must already be open of NullPointerException is thrown. 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