Construct a token stream filtering the given input.
If
CopyC# is an instance of {@link CharArraySet} (true if
CopyC# was used to construct the set) it will be directly used
and
CopyC# will be ignored since
CopyC#
directly controls case sensitivity.
If
CopyC# is not an instance of {@link CharArraySet},
a new CharArraySet will be constructed and
CopyC# will be
used to specify the case sensitivity of that set.
Namespace: Lucene.Net.Analysis
stopWords

makeStopSet()

ignoreCase

CharArraySet

stopWords

ignoreCase
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public StopFilter( bool enablePositionIncrements, TokenStream input, Hashtable stopWords, bool ignoreCase ) |
Visual Basic |
---|
Public Sub New ( _ enablePositionIncrements As Boolean, _ input As TokenStream, _ stopWords As Hashtable, _ ignoreCase As Boolean _ ) |
Visual C++ |
---|
public: StopFilter( bool enablePositionIncrements, TokenStream^ input, Hashtable^ stopWords, bool ignoreCase ) |
Parameters
- enablePositionIncrements
- Type: System..::..Boolean
true if token positions should record the removed stop words
- input
- Type: Lucene.Net.Analysis..::..TokenStream
Input TokenStream
- stopWords
- Type: System.Collections..::..Hashtable
The set of Stop Words.
- ignoreCase
- Type: System..::..Boolean
-Ignore case when stopping.