Constructor CodepointCountFilter
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).
Declaration
public CodepointCountFilter(LuceneVersion version, TokenStream in, int min, int max)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | the Lucene match version |
TokenStream | in | the TokenStream to consume |
System.Int32 | min | the minimum length |
System.Int32 | max | the maximum length |