C# Class Lucene.Net.Analysis.Miscellaneous.PatternAnalyzer

Inheritance: Analyzer
Exibir arquivo Open project: synhershko/lucene.net Class Usage Examples

Public Properties

Property Type Description
DEFAULT_ANALYZER PatternAnalyzer
EXTENDED_ANALYZER PatternAnalyzer
NON_WORD_PATTERN System.Text.RegularExpressions.Regex
WHITESPACE_PATTERN System.Text.RegularExpressions.Regex

Public Methods

Method Description
Equals ( Object other ) : bool
GetHashCode ( ) : int
PatternAnalyzer ( Lucene.Net.Util.Version matchVersion, Regex Regex, bool toLowerCase, ISet stopWords ) : System
TokenStream ( String fieldName, String text ) : TokenStream
TokenStream ( String fieldName, TextReader reader ) : TokenStream

Private Methods

Method Description
Eq ( Object o1, Object o2 ) : bool
EqRegex ( Regex p1, Regex p2 ) : bool
ToString ( TextReader input ) : String

Method Details

Equals() public method

public Equals ( Object other ) : bool
other Object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

PatternAnalyzer() public method

public PatternAnalyzer ( Lucene.Net.Util.Version matchVersion, Regex Regex, bool toLowerCase, ISet stopWords ) : System
matchVersion Lucene.Net.Util.Version
Regex System.Text.RegularExpressions.Regex
toLowerCase bool
stopWords ISet
return System

TokenStream() public method

public TokenStream ( String fieldName, String text ) : TokenStream
fieldName String
text String
return TokenStream

TokenStream() public method

public TokenStream ( String fieldName, TextReader reader ) : TokenStream
fieldName String
reader System.IO.TextReader
return TokenStream

Property Details

DEFAULT_ANALYZER public_oe static_oe property

public static PatternAnalyzer,Lucene.Net.Analysis.Miscellaneous DEFAULT_ANALYZER
return PatternAnalyzer

EXTENDED_ANALYZER public_oe static_oe property

public static PatternAnalyzer,Lucene.Net.Analysis.Miscellaneous EXTENDED_ANALYZER
return PatternAnalyzer

NON_WORD_PATTERN public_oe static_oe property

public static Regex,System.Text.RegularExpressions NON_WORD_PATTERN
return System.Text.RegularExpressions.Regex

WHITESPACE_PATTERN public_oe static_oe property

public static Regex,System.Text.RegularExpressions WHITESPACE_PATTERN
return System.Text.RegularExpressions.Regex