Class OpenSearchAnalyzerMapper
java.lang.Object
com.atlassian.confluence.plugins.opensearch.OpenSearchAnalyzerMapper
-
Constructor Summary
ConstructorDescriptionOpenSearchAnalyzerMapper
(javax.inject.Provider<SearchLanguage> searchLanguageProvider, List<OpenSearchAnalyzerProvider> providers) -
Method Summary
-
Constructor Details
-
OpenSearchAnalyzerMapper
public OpenSearchAnalyzerMapper(javax.inject.Provider<SearchLanguage> searchLanguageProvider, List<OpenSearchAnalyzerProvider> providers)
-
-
Method Details
-
getAnalyzerName
- Parameters:
provider
- analyzer provider- Returns:
- the analyzer name on the OpenSearch index for the provided analyzer descriptor
-
getAnalyzerProvider
public Optional<OpenSearchAnalyzerProvider> getAnalyzerProvider(AnalyzerDescriptorProvider provider) - Parameters:
provider
- v2 analyzer descriptor provider- Returns:
- the OpenSearch analyzer provider for the provided v2 analyzer descriptor
-