Method | Description | |
---|---|---|
LengthFilter ( LuceneVersion version, TokenStream @in, int min, int max ) : Lucene.Net.Analysis.Tokenattributes |
Create a new LengthFilter. This will filter out tokens whose CharTermAttribute is either too short (CharTermAttribute#length() < min) or too long (CharTermAttribute#length() > max).
|
Method | Description | |
---|---|---|
Accept ( ) : bool |
Method | Description | |
---|---|---|
LengthFilter ( LuceneVersion version, bool enablePositionIncrements, TokenStream @in, int min, int max ) : Lucene.Net.Analysis.Tokenattributes |
public LengthFilter ( LuceneVersion version, TokenStream @in, int min, int max ) : Lucene.Net.Analysis.Tokenattributes | ||
version | LuceneVersion | the Lucene match version |
@in | TokenStream | |
min | int | the minimum length |
max | int | the maximum length |
return | Lucene.Net.Analysis.Tokenattributes |