Class ConfluenceLuceneAnalyzerMapper
- java.lang.Object
-
- com.atlassian.confluence.impl.search.v2.mappers.ConfluenceLuceneAnalyzerMapper
-
- All Implemented Interfaces:
LuceneAnalyzerMapper
@Internal public class ConfluenceLuceneAnalyzerMapper extends Object implements LuceneAnalyzerMapper
The default implementation ofLuceneAnalyzerMapper
. Whenever we add a newCharFilterDescriptor
,TokenFilterDescriptor
orTokenFilterDescriptor
this class must be modified to register a corresponding Lucene implementation.- Since:
- 7.0
-
-
Constructor Summary
Constructors Constructor Description ConfluenceLuceneAnalyzerMapper()
ConfluenceLuceneAnalyzerMapper(Map<Class<? extends MappingAnalyzerDescriptor>,org.apache.lucene.analysis.Analyzer> additionalAnalyzerMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.analysis.Analyzer
map(MappingAnalyzerDescriptor mappingAnalyzerDescriptor)
-
-
-
Constructor Detail
-
ConfluenceLuceneAnalyzerMapper
public ConfluenceLuceneAnalyzerMapper()
-
ConfluenceLuceneAnalyzerMapper
public ConfluenceLuceneAnalyzerMapper(Map<Class<? extends MappingAnalyzerDescriptor>,org.apache.lucene.analysis.Analyzer> additionalAnalyzerMap)
-
-
Method Detail
-
map
public org.apache.lucene.analysis.Analyzer map(MappingAnalyzerDescriptor mappingAnalyzerDescriptor)
- Specified by:
map
in interfaceLuceneAnalyzerMapper
-
-