Package org.elasticsearch.index.analysis
Class PreBuiltAnalyzerProvider
java.lang.Object
org.elasticsearch.index.analysis.PreBuiltAnalyzerProvider
- All Implemented Interfaces:
Provider<NamedAnalyzer>
,AnalyzerProvider<NamedAnalyzer>
-
Constructor Summary
ConstructorDescriptionPreBuiltAnalyzerProvider
(String name, AnalyzerScope scope, org.apache.lucene.analysis.Analyzer analyzer) -
Method Summary
-
Constructor Details
-
PreBuiltAnalyzerProvider
public PreBuiltAnalyzerProvider(String name, AnalyzerScope scope, org.apache.lucene.analysis.Analyzer analyzer)
-
-
Method Details
-
name
- Specified by:
name
in interfaceAnalyzerProvider<NamedAnalyzer>
-
scope
- Specified by:
scope
in interfaceAnalyzerProvider<NamedAnalyzer>
-
get
Description copied from interface:Provider
Provides an instance ofT
. Must never returnnull
.- Specified by:
get
in interfaceAnalyzerProvider<NamedAnalyzer>
- Specified by:
get
in interfaceProvider<NamedAnalyzer>
-