|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.el.GreekAnalyzer
public final class GreekAnalyzer
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
.
Field Summary |
---|
Fields inherited from class org.apache.lucene.analysis.Analyzer |
---|
overridesTokenStreamMethod |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 . |
Methods inherited from class org.apache.lucene.analysis.Analyzer |
---|
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, setOverridesTokenStreamMethod, setPreviousTokenStream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GreekAnalyzer()
GreekAnalyzer(Version)
instead
public GreekAnalyzer(org.apache.lucene.util.Version matchVersion)
public GreekAnalyzer(char[] charset)
GreekAnalyzer(Version)
instead.
public GreekAnalyzer(String[] stopwords)
GreekAnalyzer(Version, String[])
instead
stopwords
- 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)
instead
public GreekAnalyzer(org.apache.lucene.util.Version matchVersion, Map stopwords)
Method Detail |
---|
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.Analyzer
TokenStream
built from a StandardTokenizer
filtered with
GreekLowerCaseFilter
and StopFilter
public 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.Analyzer
TokenStream
built from a StandardTokenizer
filtered with
GreekLowerCaseFilter
and StopFilter
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |