Class StandardAnalyzerProvider
java.lang.Object
com.atlassian.confluence.plugins.opensearch.analysis.analyzer.StandardAnalyzerProvider
- All Implemented Interfaces:
- OpenSearchAnalyzerProvider
Provides OpenSearch analyzer for 
StandardAnalyzerDescriptor.
 It applies the stop words of the current language on top of OpenSearch standard analyzer.
- Since:
- 8.7
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.opensearch.client.opensearch._types.analysis.AnalyzerClass<? extends MappingAnalyzerDescriptor> getName()booleanisCustom()
- 
Field Details- 
NAMEThe identifier for OpenSearch to recognise this analyzer.- See Also:
 
 
- 
- 
Constructor Details- 
StandardAnalyzerProviderpublic StandardAnalyzerProvider()
 
- 
- 
Method Details- 
getMappingClass- Specified by:
- getMappingClassin interface- OpenSearchAnalyzerProvider
- Returns:
- the concrete type of MappingAnalyzerDescriptorthat's mapped to this analyzer
 
- 
getAnalyzerpublic org.opensearch.client.opensearch._types.analysis.Analyzer getAnalyzer()- Specified by:
- getAnalyzerin interface- OpenSearchAnalyzerProvider
- Returns:
- the OpenSearch analyzer for the given v2 analyzer specified at OpenSearchAnalyzerProvider.getMappingClass().
 
- 
getName- Specified by:
- getNamein interface- OpenSearchAnalyzerProvider
- Returns:
- the analyzer name that is registered in OpenSearch. It should be unique within the index it is used.
 
- 
isCustompublic boolean isCustom()- Specified by:
- isCustomin interface- OpenSearchAnalyzerProvider
- Returns:
- true if the analyzer needs to be declared as a custom analyzer when the index is created. Or false if the index is available built-in on OpenSearch.
 
 
-