C# Class Lucene.Net.Analysis.Standard.StandardAnalyzer

Filters {@link StandardTokenizer} with {@link StandardFilter}, {@link LowerCaseFilter} and {@link StopFilter}, using a list of English stop words.
Inheritance: Lucene.Net.Analysis.Analyzer
Mostrar archivo Open project: apache/lucenenet Class Usage Examples

Public Properties

Property Type Description
STOP_WORDS_SET Lucene.Net.Analysis.CharArraySet

Public Methods

Method Description
CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents
StandardAnalyzer ( LuceneVersion matchVersion ) : System.IO

Builds an analyzer with the default stop words ({@link #STOP_WORDS_SET}).

StandardAnalyzer ( LuceneVersion matchVersion, Lucene.Net.Analysis.CharArraySet stopWords ) : System.IO

Builds an analyzer with the given stop words.

StandardAnalyzer ( LuceneVersion matchVersion, TextReader stopwords ) : System.IO

Builds an analyzer with the stop words from the given reader.

Method Details

CreateComponents() public method

public CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents
fieldName string
reader TextReader
return TokenStreamComponents

StandardAnalyzer() public method

Builds an analyzer with the default stop words ({@link #STOP_WORDS_SET}).
public StandardAnalyzer ( LuceneVersion matchVersion ) : System.IO
matchVersion LuceneVersion Lucene version to match See {@link /// above}
return System.IO

StandardAnalyzer() public method

Builds an analyzer with the given stop words.
public StandardAnalyzer ( LuceneVersion matchVersion, Lucene.Net.Analysis.CharArraySet stopWords ) : System.IO
matchVersion LuceneVersion Lucene version to match See {@link /// above}
stopWords Lucene.Net.Analysis.CharArraySet stop words
return System.IO

StandardAnalyzer() public method

Builds an analyzer with the stop words from the given reader.
public StandardAnalyzer ( LuceneVersion matchVersion, TextReader stopwords ) : System.IO
matchVersion LuceneVersion Lucene version to match See {@link /// above}
stopwords TextReader Reader to read stop words from
return System.IO

Property Details

STOP_WORDS_SET public_oe static_oe property

An unmodifiable set containing some common English words that are usually not useful for searching.
public static CharArraySet,Lucene.Net.Analysis STOP_WORDS_SET
return Lucene.Net.Analysis.CharArraySet