Class LengthFilter
Removes words that are too long or too short from the stream.
Note: Length is calculated as the number of UTF-16 code units.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public sealed class LengthFilter : FilteringTokenFilter, IDisposable
Constructors
Name | Description |
---|---|
LengthFilter(LuceneVersion, TokenStream, Int32, Int32) | Create a new LengthFilter. This will filter out tokens whose CharTermAttribute is either too short (Length < min) or too long (Length > max). |
LengthFilter(LuceneVersion, Boolean, TokenStream, Int32, Int32) |
Methods
Name | Description |
---|---|
Accept() |