public final class GreekAnalyzer
extends org.apache.lucene.analysis.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.
| 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(org.apache.lucene.util.Version matchVersion) |
GreekAnalyzer(org.apache.lucene.util.Version matchVersion,
Map stopwords)
Builds an analyzer with the given stop words.
|
GreekAnalyzer(org.apache.lucene.util.Version matchVersion,
String[] stopwords)
Builds an analyzer with the given stop words.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.analysis.TokenStream |
reusableTokenStream(String fieldName,
Reader reader)
Returns a (possibly reused)
TokenStream which tokenizes all the text
in the provided Reader. |
org.apache.lucene.analysis.TokenStream |
tokenStream(String fieldName,
Reader reader)
Creates a
TokenStream which tokenizes all the text in the provided Reader. |
public GreekAnalyzer()
GreekAnalyzer(Version) insteadpublic GreekAnalyzer(org.apache.lucene.util.Version matchVersion)
public GreekAnalyzer(char[] charset)
GreekAnalyzer(Version) instead.public GreekAnalyzer(String[] stopwords)
GreekAnalyzer(Version, String[]) insteadstopwords - Array of stopwords to use.public GreekAnalyzer(org.apache.lucene.util.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 GreekAnalyzer(org.apache.lucene.util.Version matchVersion,
Map stopwords)
public org.apache.lucene.analysis.TokenStream tokenStream(String fieldName, Reader reader)
TokenStream which tokenizes all the text in the provided Reader.tokenStream in class org.apache.lucene.analysis.AnalyzerTokenStream built from a StandardTokenizer filtered with
GreekLowerCaseFilter and StopFilterpublic org.apache.lucene.analysis.TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException
TokenStream which tokenizes all the text
in the provided Reader.reusableTokenStream in class org.apache.lucene.analysis.AnalyzerTokenStream built from a StandardTokenizer filtered with
GreekLowerCaseFilter and StopFilterIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.