mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
fixed typo
This commit is contained in:
parent
735d0e671a
commit
e9bd92fc76
@ -113,7 +113,7 @@ public class PreBuiltAnalyzerProviderFactory extends PreConfiguredAnalysisCompon
|
||||
public Collection<AnalyzerProvider<?>> values() {
|
||||
return preBuiltAnalyzer.getCache().values().stream()
|
||||
// Wrap the analyzer instance in a PreBuiltAnalyzerProvider, this is what PreBuiltAnalyzerProviderFactory#close expects
|
||||
// (other caches are not directly caching analyzers, but analyzer provider instead.
|
||||
// (other caches are not directly caching analyzers, but analyzer provider instead)
|
||||
.map(analyzer -> new PreBuiltAnalyzerProvider(name, AnalyzerScope.INDICES, analyzer))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user