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
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Свойство Type Description
STOP_WORDS_SET Lucene.Net.Analysis.CharArraySet

Méthodes publiques

Méthode 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 méthode

public CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents
fieldName string
reader TextReader
Résultat TokenStreamComponents

StandardAnalyzer() public méthode

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}
Résultat System.IO

StandardAnalyzer() public méthode

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
Résultat System.IO

StandardAnalyzer() public méthode

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
Résultat 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
Résultat Lucene.Net.Analysis.CharArraySet