|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.analysis.Analyzer com.atlassian.jira.issue.index.analyzer.GreekAnalyzer
public class GreekAnalyzer
Extends the functionality of the Standard (language) Analyser provided by Lucene by using the ClassicAnalyser and adding the SubtokenFilter.
Note: checked for Lucene 3.2 compatibility.
SubtokenFilter
Constructor Summary | |
---|---|
GreekAnalyzer(org.apache.lucene.util.Version matchVersion,
boolean indexing,
com.google.common.base.Function<org.apache.lucene.analysis.TokenStream,org.apache.lucene.analysis.TokenStream> stemmingFilter)
|
Method Summary | |
---|---|
boolean |
isIndexing()
|
org.apache.lucene.analysis.TokenStream |
reusableTokenStream(String fieldName,
Reader reader)
|
org.apache.lucene.analysis.TokenStream |
tokenStream(String fieldName,
Reader reader)
Creates a TokenStream which tokenizes all the text in the provided Reader. |
protected org.apache.lucene.analysis.TokenStream |
wrapStreamForIndexing(org.apache.lucene.analysis.TokenStream input)
Applies a SubtokenFilter to the input token stream at document indexing time. |
protected org.apache.lucene.analysis.TokenStream |
wrapStreamForWilcardSearchSupport(org.apache.lucene.analysis.TokenStream input)
Applies a KeywordRepeatFilter to the input token stream at document indexing time to store the original
tokens as keywords before any stemming filter is applied and therefore support wildcard searches and exact phrase
queries on document fields. |
Methods inherited from class org.apache.lucene.analysis.Analyzer |
---|
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, setPreviousTokenStream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GreekAnalyzer(org.apache.lucene.util.Version matchVersion, boolean indexing, com.google.common.base.Function<org.apache.lucene.analysis.TokenStream,org.apache.lucene.analysis.TokenStream> stemmingFilter)
Method Detail |
---|
public final org.apache.lucene.analysis.TokenStream tokenStream(String fieldName, Reader reader)
tokenStream
in class org.apache.lucene.analysis.Analyzer
public boolean isIndexing()
protected org.apache.lucene.analysis.TokenStream wrapStreamForIndexing(org.apache.lucene.analysis.TokenStream input)
SubtokenFilter
to the input token stream at document indexing time.
input
- token stream
protected org.apache.lucene.analysis.TokenStream wrapStreamForWilcardSearchSupport(org.apache.lucene.analysis.TokenStream input)
KeywordRepeatFilter
to the input token stream at document indexing time to store the original
tokens as keywords before any stemming filter is applied and therefore support wildcard searches and exact phrase
queries on document fields.
input
- token stream
public final org.apache.lucene.analysis.TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException
reusableTokenStream
in class org.apache.lucene.analysis.Analyzer
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |