Constructor ClassicAnalyzer
ClassicAnalyzer(LuceneVersion, CharArraySet)
Builds an analyzer with the given stop words.
Declaration
public ClassicAnalyzer(LuceneVersion matchVersion, CharArraySet stopWords)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | Lucene compatibility version - See ClassicAnalyzer |
CharArraySet | stopWords | stop words |
ClassicAnalyzer(LuceneVersion)
Builds an analyzer with the default stop words (STOP_WORDS_SET).
Declaration
public ClassicAnalyzer(LuceneVersion matchVersion)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | Lucene compatibility version - See ClassicAnalyzer |
ClassicAnalyzer(LuceneVersion, TextReader)
Builds an analyzer with the stop words from the given reader.
Declaration
public ClassicAnalyzer(LuceneVersion matchVersion, TextReader stopwords)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | Lucene compatibility version - See ClassicAnalyzer |
System.IO.TextReader | stopwords | System.IO.TextReader to read stop words from |