Class CodepointCountFilter
Removes words that are too long or too short from the stream.
Note: Length is calculated as the number of Unicode codepoints.
Inheritance
System.Object
CodepointCountFilter
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 CodepointCountFilter : FilteringTokenFilter, IDisposable
Constructors
Name | Description |
---|---|
CodepointCountFilter(LuceneVersion, TokenStream, Int32, Int32) | Create a new CodepointCountFilter. This will filter out tokens whose CharTermAttribute is either too short (CodePointCount(Char[], Int32, Int32) < min) or too long (CodePointCount(Char[], Int32, Int32) > max). |
Methods
Name | Description |
---|---|
Accept() |