Class StopAnalyzer
Filters LetterTokenizer with LowerCaseFilter and StopFilter.
You must specify the required Lucene.Net.Util.Version compatibility when creating StopAnalyzer:
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public sealed class StopAnalyzer : Analyzer
Constructors
Name | Description |
---|---|
StopAnalyzer(Version) | Builds an analyzer which removes words in ENGLISH_STOP_WORDS. |
StopAnalyzer(Version, ISet<String>) | Builds an analyzer with the stop words from the given set. |
StopAnalyzer(Version, IO.FileInfo) | Builds an analyzer with the stop words from the given file. |
StopAnalyzer(Version, IO.TextReader) | Builds an analyzer with the stop words from the given reader. |
Fields
Name | Description |
---|---|
ENGLISH_STOP_WORDS_SET | An unmodifiable set containing some common English words that are not usually useful for searching. |
Methods
Name | Description |
---|---|
ReusableTokenStream(String, IO.TextReader) | |
TokenStream(String, IO.TextReader) | Filters LowerCaseTokenizer with StopFilter. |