C# Class org.apache.lucene.analysis.miscellaneous.KeywordRepeatFilter

This TokenFilter emits each incoming token twice once as keyword and once non-keyword, in other words once with KeywordAttribute#setKeyword(boolean) set to true and once set to false. This is useful if used with a stem filter that respects the KeywordAttribute to index the stemmed and the un-stemmed version of a term into the same field.
Inheritance: TokenFilter
Afficher le fichier Open project: paulirwin/lucene.net

Méthodes publiques

Méthode Description
KeywordRepeatFilter ( TokenStream input )

Construct a token stream filtering the given input.

incrementToken ( ) : bool
reset ( ) : void

Method Details

KeywordRepeatFilter() public méthode

Construct a token stream filtering the given input.
public KeywordRepeatFilter ( TokenStream input )
input TokenStream

incrementToken() public méthode

public incrementToken ( ) : bool
Résultat bool

reset() public méthode

public reset ( ) : void
Résultat void