Class ConfluenceAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.AnalyzerWrapper
com.atlassian.confluence.impl.search.v2.lucene.ConfluenceAnalyzer
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ConfluenceAnalyzer
extends org.apache.lucene.analysis.AnalyzerWrapper
-
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
ConstructorsConstructorDescriptionConfluenceAnalyzer
(GlobalSettingsManager globalSettingsManager, UserDictionaryFactory userDictionaryFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) 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
-
Constructor Details
-
ConfluenceAnalyzer
public ConfluenceAnalyzer(GlobalSettingsManager globalSettingsManager, UserDictionaryFactory userDictionaryFactory)
-
-
Method Details
-
getWrappedAnalyzer
- 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
-