C# Class org.apache.lucene.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: Lucene.Net.Analysis.TokenStream
ファイルを表示 Open project: paulirwin/lucene.net Class Usage Examples

Public Methods

Method Description
PrefixAndSuffixAwareTokenFilter ( TokenStream prefix, TokenStream input, TokenStream suffix )
close ( ) : void
end ( ) : void
incrementToken ( ) : bool
reset ( ) : void
updateInputToken ( Lucene.Net.Analysis.Token inputToken, Lucene.Net.Analysis.Token lastPrefixToken ) : Lucene.Net.Analysis.Token
updateSuffixToken ( Lucene.Net.Analysis.Token suffixToken, Lucene.Net.Analysis.Token lastInputToken ) : Lucene.Net.Analysis.Token

Method Details

PrefixAndSuffixAwareTokenFilter() public method

public PrefixAndSuffixAwareTokenFilter ( TokenStream prefix, TokenStream input, TokenStream suffix )
prefix Lucene.Net.Analysis.TokenStream
input Lucene.Net.Analysis.TokenStream
suffix Lucene.Net.Analysis.TokenStream

close() public method

public close ( ) : void
return void

end() public method

public end ( ) : void
return void

incrementToken() public method

public incrementToken ( ) : bool
return bool

reset() public method

public reset ( ) : void
return void

updateInputToken() public method

public updateInputToken ( Lucene.Net.Analysis.Token inputToken, Lucene.Net.Analysis.Token lastPrefixToken ) : Lucene.Net.Analysis.Token
inputToken Lucene.Net.Analysis.Token
lastPrefixToken Lucene.Net.Analysis.Token
return Lucene.Net.Analysis.Token

updateSuffixToken() public method

public updateSuffixToken ( Lucene.Net.Analysis.Token suffixToken, Lucene.Net.Analysis.Token lastInputToken ) : Lucene.Net.Analysis.Token
suffixToken Lucene.Net.Analysis.Token
lastInputToken Lucene.Net.Analysis.Token
return Lucene.Net.Analysis.Token