Class ConfluenceUnstemmedAnalyzer
- java.lang.Object
-
- org.apache.lucene.analysis.Analyzer
-
- org.apache.lucene.analysis.AnalyzerWrapper
-
- com.atlassian.confluence.impl.search.v2.lucene.ConfluenceUnstemmedAnalyzer
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
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 Class Summary
-
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
-
-
Constructor Summary
Constructors Constructor Description ConfluenceUnstemmedAnalyzer(SettingsManager settingsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.lucene.analysis.Analyzer
getWrappedAnalyzer(String fieldName)
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents
wrapComponents(String fieldName, org.apache.lucene.analysis.Analyzer.TokenStreamComponents components)
-
-
-
Constructor Detail
-
ConfluenceUnstemmedAnalyzer
public ConfluenceUnstemmedAnalyzer(SettingsManager settingsManager)
-
-
Method Detail
-
getWrappedAnalyzer
protected org.apache.lucene.analysis.Analyzer getWrappedAnalyzer(String fieldName)
- Specified by:
getWrappedAnalyzer
in classorg.apache.lucene.analysis.AnalyzerWrapper
-
wrapComponents
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents wrapComponents(String fieldName, org.apache.lucene.analysis.Analyzer.TokenStreamComponents components)
- Specified by:
wrapComponents
in classorg.apache.lucene.analysis.AnalyzerWrapper
-
-