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

显示文件 Open project: paulirwin/lucene.net Class Usage Examples

Public Properties

Property Type Description
STOP_WORDS_SET CharArraySet

Public Methods

Method 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.

Protected Methods

Method Description
createComponents ( string fieldName, Reader reader ) : TokenStreamComponents

Method Details

UAX29URLEmailAnalyzer() public method

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}
return Lucene.Net.Analysis.Core

UAX29URLEmailAnalyzer() public method

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
return Lucene.Net.Analysis.Core

UAX29URLEmailAnalyzer() public method

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
return Lucene.Net.Analysis.Core

createComponents() protected method

protected createComponents ( string fieldName, Reader reader ) : TokenStreamComponents
fieldName string
reader Reader
return 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
return CharArraySet