Apache Lucene.Net 2.4.0 Class Library API

Token.SetType Method 

Set the lexical type.

public void SetType(
   string type
);

See Also

Token Class | Lucene.Net.Analysis Namespace |