com.atlassian.confluence.search.lucene
Class ConfluenceUnstemmedAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.AnalyzerWrapper
com.atlassian.confluence.search.lucene.ConfluenceUnstemmedAnalyzer
- All Implemented Interfaces:
- java.io.Closeable
public class ConfluenceUnstemmedAnalyzer
- extends org.apache.lucene.analysis.AnalyzerWrapper
An analyzer that groups non-stemming language analyzers, and delegates to the appropriate one
depending on the indexing language (Settings.getIndexingLanguage()
.
Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer |
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
Field Summary |
static java.util.Map<java.lang.String,org.apache.lucene.analysis.Analyzer> |
analyzers
|
static org.apache.lucene.analysis.Analyzer |
SIMPLE_ANALYZER
|
Method Summary |
protected org.apache.lucene.analysis.Analyzer |
getWrappedAnalyzer(java.lang.String fieldName)
|
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
wrapComponents(java.lang.String fieldName,
org.apache.lucene.analysis.Analyzer.TokenStreamComponents components)
|
Methods inherited from class org.apache.lucene.analysis.AnalyzerWrapper |
createComponents, getOffsetGap, getPositionIncrementGap, initReader |
Methods inherited from class org.apache.lucene.analysis.Analyzer |
close, tokenStream, tokenStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
analyzers
public static final java.util.Map<java.lang.String,org.apache.lucene.analysis.Analyzer> analyzers
SIMPLE_ANALYZER
public static final org.apache.lucene.analysis.Analyzer SIMPLE_ANALYZER
ConfluenceUnstemmedAnalyzer
public ConfluenceUnstemmedAnalyzer(SettingsManager settingsManager)
getWrappedAnalyzer
protected org.apache.lucene.analysis.Analyzer getWrappedAnalyzer(java.lang.String fieldName)
- Specified by:
getWrappedAnalyzer
in class org.apache.lucene.analysis.AnalyzerWrapper
wrapComponents
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents wrapComponents(java.lang.String fieldName,
org.apache.lucene.analysis.Analyzer.TokenStreamComponents components)
- Specified by:
wrapComponents
in class org.apache.lucene.analysis.AnalyzerWrapper
Copyright © 2003-2014 Atlassian. All Rights Reserved.