com.atlassian.jira.issue.index.analyzer
Class GermanAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
com.atlassian.jira.issue.index.analyzer.GermanAnalyzer
public class GermanAnalyzer
- extends org.apache.lucene.analysis.Analyzer
Extends the functionality of the standard GermanAnalyzer provided by Lucene by adding the SubtokenFilter.
Note: checked for Lucene 2.9 compatibility.
- See Also:
SubtokenFilter
Fields inherited from class org.apache.lucene.analysis.Analyzer |
overridesTokenStreamMethod |
Method Summary |
boolean |
isIndexing()
|
org.apache.lucene.analysis.TokenStream |
tokenStream(java.lang.String fieldName,
java.io.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, reusableTokenStream, setOverridesTokenStreamMethod, setPreviousTokenStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GermanAnalyzer
public GermanAnalyzer(boolean includeSubTokenFilter)
tokenStream
public org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
java.io.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)
Copyright © 2002-2010 Atlassian. All Rights Reserved.