Apache Lucene.Net 2.4.0 Class Library API

Token.SetTermText Method 

Sets the Token's term text. NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.

public virtual void SetTermText(
   string text
);

See Also

Token Class | Lucene.Net.Analysis Namespace