C# Class Lucene.Net.Analysis.Miscellaneous.PrefixAndSuffixAwareTokenFilter

Links two PrefixAwareTokenFilter.

NOTE: This filter might not behave correctly if used with custom Attributes, i.e. Attributes other than the ones located in org.apache.lucene.analysis.tokenattributes.

Inheritance: TokenStream
Show file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
End ( ) : void
IncrementToken ( ) : bool
PrefixAndSuffixAwareTokenFilter ( TokenStream prefix, TokenStream input, TokenStream suffix )
Reset ( ) : void
UpdateInputToken ( Token inputToken, Token lastPrefixToken ) : Token
UpdateSuffixToken ( Token suffixToken, Token lastInputToken ) : Token

Method Details

Dispose() public method

public Dispose ( ) : void
return void

End() public method

public End ( ) : void
return void

IncrementToken() public final method

public final IncrementToken ( ) : bool
return bool

PrefixAndSuffixAwareTokenFilter() public method

public PrefixAndSuffixAwareTokenFilter ( TokenStream prefix, TokenStream input, TokenStream suffix )
prefix TokenStream
input TokenStream
suffix TokenStream

Reset() public method

public Reset ( ) : void
return void

UpdateInputToken() public method

public UpdateInputToken ( Token inputToken, Token lastPrefixToken ) : Token
inputToken Token
lastPrefixToken Token
return Token

UpdateSuffixToken() public method

public UpdateSuffixToken ( Token suffixToken, Token lastInputToken ) : Token
suffixToken Token
lastInputToken Token
return Token