C# Класс Lucene.Net.Analysis.Miscellaneous.SetKeywordMarkerFilter

Marks terms as keywords via the KeywordAttribute. Each token contained in the provided set is marked as a keyword by setting KeywordAttribute#setKeyword(boolean) to true.
Наследование: KeywordMarkerFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SetKeywordMarkerFilter ( TokenStream @in, CharArraySet keywordSet ) : Lucene.Net.Analysis.Tokenattributes

Create a new KeywordSetMarkerFilter, that marks the current token as a keyword if the tokens term buffer is contained in the given set via the KeywordAttribute.

Описание методов

SetKeywordMarkerFilter() публичный Метод

Create a new KeywordSetMarkerFilter, that marks the current token as a keyword if the tokens term buffer is contained in the given set via the KeywordAttribute.
public SetKeywordMarkerFilter ( TokenStream @in, CharArraySet keywordSet ) : Lucene.Net.Analysis.Tokenattributes
@in TokenStream
keywordSet CharArraySet /// the keywords set to lookup the current termbuffer
Результат Lucene.Net.Analysis.Tokenattributes