public final class GreekAnalyzer extends Analyzer
Analyzer for the Greek language.
Supports an external list of stopwords (words that will not be indexed at all). A default set of stopwords is used unless an alternative list is specified.
NOTE: This class uses the same Version
dependent settings as StandardAnalyzer.
overridesTokenStreamMethod| Constructor and Description |
|---|
GreekAnalyzer()
Deprecated.
Use
GreekAnalyzer(Version) instead |
GreekAnalyzer(char[] charset)
Deprecated.
Use
GreekAnalyzer(Version) instead. |
GreekAnalyzer(char[] charset,
Map stopwords)
Deprecated.
Use
GreekAnalyzer(Version, Map) instead. |
GreekAnalyzer(char[] charset,
String[] stopwords)
Deprecated.
Use
GreekAnalyzer(Version, String[]) instead. |
GreekAnalyzer(Map stopwords)
Deprecated.
Use
GreekAnalyzer(Version,Map) instead |
GreekAnalyzer(String[] stopwords)
Deprecated.
Use
GreekAnalyzer(Version, String[]) instead |
GreekAnalyzer(Version matchVersion) |
GreekAnalyzer(Version matchVersion,
Map stopwords)
Builds an analyzer with the given stop words.
|
GreekAnalyzer(Version matchVersion,
String[] stopwords)
Builds an analyzer with the given stop words.
|
| Modifier and Type | Method and Description |
|---|---|
TokenStream |
reusableTokenStream(String fieldName,
Reader reader)
Returns a (possibly reused)
TokenStream which tokenizes all the text
in the provided Reader. |
TokenStream |
tokenStream(String fieldName,
Reader reader)
Creates a
TokenStream which tokenizes all the text in the provided Reader. |
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, setOverridesTokenStreamMethod, setPreviousTokenStreampublic GreekAnalyzer()
GreekAnalyzer(Version) insteadpublic GreekAnalyzer(Version matchVersion)
public GreekAnalyzer(char[] charset)
GreekAnalyzer(Version) instead.public GreekAnalyzer(String[] stopwords)
GreekAnalyzer(Version, String[]) insteadstopwords - Array of stopwords to use.public GreekAnalyzer(Version matchVersion, String[] stopwords)
stopwords - Array of stopwords to use.public GreekAnalyzer(char[] charset,
String[] stopwords)
GreekAnalyzer(Version, String[]) instead.public GreekAnalyzer(char[] charset,
Map stopwords)
GreekAnalyzer(Version, Map) instead.public GreekAnalyzer(Map stopwords)
GreekAnalyzer(Version,Map) insteadpublic TokenStream tokenStream(String fieldName, Reader reader)
TokenStream which tokenizes all the text in the provided Reader.tokenStream in class AnalyzerTokenStream built from a StandardTokenizer filtered with
GreekLowerCaseFilter and StopFilterpublic TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException
TokenStream which tokenizes all the text
in the provided Reader.reusableTokenStream in class AnalyzerTokenStream built from a StandardTokenizer filtered with
GreekLowerCaseFilter and StopFilterIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.