Set maximum allowed token length. If a token is seen
that exceeds this length then it is discarded. This
setting only takes effect the next time tokenStream or
reusableTokenStream is called.
Namespace: Lucene.Net.Analysis.StandardAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void SetMaxTokenLength( int length ) |
Visual Basic |
---|
Public Overridable Sub SetMaxTokenLength ( _ length As Integer _ ) |
Visual C++ |
---|
public: virtual void SetMaxTokenLength( int length ) |
Parameters
- length
- Type: System..::..Int32
[Missing <param name="length"/> documentation for "M:Lucene.Net.Analysis.Standard.StandardAnalyzer.SetMaxTokenLength(System.Int32)"]