Construct a token stream filtering the given input.
Constructs a filter which removes words from the input TokenStream that are named in the Set.
public StopFilter(TokenStream,Hashtable);
Construct a token stream filtering the given input. If
stopWordsis an instance of {@link CharArraySet} (true if
makeStopSet()was used to construct the set) it will be directly used and
ignoreCasewill be ignored since
CharArraySetdirectly controls case sensitivity. If
stopWordsis not an instance of {@link CharArraySet}, a new CharArraySet will be constructed and
ignoreCasewill be used to specify the case sensitivity of that set.
public StopFilter(TokenStream,Hashtable,bool);
Construct a token stream filtering the given input.
public StopFilter(TokenStream,string[]);
Constructs a filter which removes words from the input TokenStream that are named in the array of words.
public StopFilter(TokenStream,string[],bool);
StopFilter Class | Lucene.Net.Analysis Namespace