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