Apache Lucene.Net 2.4.0 Class Library API

StandardTokenizer.SetMaxTokenLength Method 

Set the max allowed token length. Any token longer than this is skipped.

public virtual void SetMaxTokenLength(
   int length
);

See Also

StandardTokenizer Class | Lucene.Net.Analysis.Standard Namespace