com.atlassian.jira.issue.index.analyzer
Class GreekAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by com.atlassian.jira.issue.index.analyzer.GreekAnalyzer
All Implemented Interfaces:
Closeable

public class GreekAnalyzer
extends org.apache.lucene.analysis.Analyzer

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.

See Also:
SubtokenFilter

Constructor Summary
GreekAnalyzer(org.apache.lucene.util.Version matchVersion, boolean indexing)
           
 
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 result)
           
 
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

GreekAnalyzer

public GreekAnalyzer(org.apache.lucene.util.Version matchVersion,
                     boolean indexing)
Method Detail

tokenStream

public final org.apache.lucene.analysis.TokenStream tokenStream(String fieldName,
                                                                Reader reader)
Creates a TokenStream which tokenizes all the text in the provided Reader.

Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer
Returns:
A TokenStream build from a StandardTokenizer filtered with StandardFilter, LowerCaseFilter, StopFilter, GermanStemFilter

isIndexing

public boolean isIndexing()

wrapStreamForIndexing

protected org.apache.lucene.analysis.TokenStream wrapStreamForIndexing(org.apache.lucene.analysis.TokenStream result)

reusableTokenStream

public final org.apache.lucene.analysis.TokenStream reusableTokenStream(String fieldName,
                                                                        Reader reader)
                                                                 throws IOException
Overrides:
reusableTokenStream in class org.apache.lucene.analysis.Analyzer
Throws:
IOException


Copyright © 2002-2013 Atlassian. All Rights Reserved.