C# Class org.apache.lucene.analysis.standard.UAX29URLEmailAnalyzer

Filters org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer with org.apache.lucene.analysis.standard.StandardFilter, LowerCaseFilter and StopFilter, using a list of English stop words.

You must specify the required org.apache.lucene.util.Version compatibility when creating UAX29URLEmailAnalyzer

Afficher le fichier Open project: paulirwin/lucene.net Class Usage Examples

Méthodes publiques

Свойство Type Description
STOP_WORDS_SET CharArraySet

Méthodes publiques

Méthode Description
UAX29URLEmailAnalyzer ( Version matchVersion ) : Lucene.Net.Analysis.Core

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

UAX29URLEmailAnalyzer ( Version matchVersion, CharArraySet stopWords ) : Lucene.Net.Analysis.Core

Builds an analyzer with the given stop words.

UAX29URLEmailAnalyzer ( Version matchVersion, Reader stopwords ) : Lucene.Net.Analysis.Core

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

Méthodes protégées

Méthode Description
createComponents ( string fieldName, Reader reader ) : TokenStreamComponents

Method Details

UAX29URLEmailAnalyzer() public méthode

Builds an analyzer with the default stop words ({@link #STOP_WORDS_SET}).
public UAX29URLEmailAnalyzer ( Version matchVersion ) : Lucene.Net.Analysis.Core
matchVersion Version Lucene version to match See {@link /// above}
Résultat Lucene.Net.Analysis.Core

UAX29URLEmailAnalyzer() public méthode

Builds an analyzer with the given stop words.
public UAX29URLEmailAnalyzer ( Version matchVersion, CharArraySet stopWords ) : Lucene.Net.Analysis.Core
matchVersion Version Lucene version to match See {@link /// above}
stopWords CharArraySet stop words
Résultat Lucene.Net.Analysis.Core

UAX29URLEmailAnalyzer() public méthode

Builds an analyzer with the stop words from the given reader.
public UAX29URLEmailAnalyzer ( Version matchVersion, Reader stopwords ) : Lucene.Net.Analysis.Core
matchVersion Version Lucene version to match See {@link /// above}
stopwords Reader Reader to read stop words from
Résultat Lucene.Net.Analysis.Core

createComponents() protected méthode

protected createComponents ( string fieldName, Reader reader ) : TokenStreamComponents
fieldName string
reader Reader
Résultat TokenStreamComponents

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 STOP_WORDS_SET
Résultat CharArraySet