Lucene.Net.Analysis.Miscellaneous.KeepWordFilter.KeepWordFilter C# (CSharp) 메소드

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
        public KeepWordFilter(LuceneVersion version, TokenStream @in, CharArraySet words)
            : base(version, @in)
        {
            this.words = words;
            termAtt = AddAttribute<ICharTermAttribute>();
        }

Same methods

KeepWordFilter::KeepWordFilter ( LuceneVersion version, bool enablePositionIncrements, TokenStream @in, CharArraySet words ) : Lucene.Net.Analysis.Tokenattributes