C# 클래스 Lucene.Net.Analysis.Miscellaneous.KeepWordFilter

A TokenFilter that only keeps tokens with text contained in the required words. This filter behaves like the inverse of StopFilter. @since solr 1.3
상속: Lucene.Net.Analysis.Util.FilteringTokenFilter
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
KeepWordFilter ( LuceneVersion version, TokenStream @in, CharArraySet words ) : Lucene.Net.Analysis.Tokenattributes

Create a new KeepWordFilter.

NOTE: The words set passed to this constructor will be directly used by this filter and should not be modified.

보호된 메소드들

메소드 설명
Accept ( ) : bool

비공개 메소드들

메소드 설명
KeepWordFilter ( LuceneVersion version, bool enablePositionIncrements, TokenStream @in, CharArraySet words ) : Lucene.Net.Analysis.Tokenattributes

메소드 상세

Accept() 보호된 메소드

protected Accept ( ) : bool
리턴 bool

KeepWordFilter() 공개 메소드

Create a new KeepWordFilter.

NOTE: The words set passed to this constructor will be directly used by this filter and should not be modified.

public KeepWordFilter ( LuceneVersion version, TokenStream @in, CharArraySet words ) : Lucene.Net.Analysis.Tokenattributes
version LuceneVersion the Lucene match version
@in TokenStream
words CharArraySet the words to keep
리턴 Lucene.Net.Analysis.Tokenattributes