Метод | Описание | |
---|---|---|
IncrementToken ( ) : bool | ||
LimitTokenPositionFilter ( TokenStream @in, int maxTokenPosition ) : Lucene.Net.Analysis.Tokenattributes |
Build a filter that only accepts tokens up to and including the given maximum position. This filter will not consume any tokens with position greater than the maxTokenPosition limit.
|
|
LimitTokenPositionFilter ( TokenStream @in, int maxTokenPosition, bool consumeAllTokens ) : Lucene.Net.Analysis.Tokenattributes |
Build a filter that limits the maximum position of tokens to emit.
|
|
Reset ( ) : void |
public LimitTokenPositionFilter ( TokenStream @in, int maxTokenPosition ) : Lucene.Net.Analysis.Tokenattributes | ||
@in | TokenStream | |
maxTokenPosition | int | max position of tokens to produce (1st token always has position 1) /// |
Результат | Lucene.Net.Analysis.Tokenattributes |
public LimitTokenPositionFilter ( TokenStream @in, int maxTokenPosition, bool consumeAllTokens ) : Lucene.Net.Analysis.Tokenattributes | ||
@in | TokenStream | |
maxTokenPosition | int | max position of tokens to produce (1st token always has position 1) |
consumeAllTokens | bool | whether all tokens from the wrapped input stream must be consumed /// even if maxTokenPosition is exceeded. |
Результат | Lucene.Net.Analysis.Tokenattributes |