Module org.elasticsearch.server
Package org.elasticsearch.index.analysis
Class AbstractIndexAnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer>
java.lang.Object
org.elasticsearch.index.analysis.AbstractIndexAnalyzerProvider<T>
- All Implemented Interfaces:
AnalyzerProvider<T>
,Provider<T>
- Direct Known Subclasses:
CustomAnalyzerProvider
,CustomNormalizerProvider
,LowercaseNormalizerProvider
,StandardAnalyzerProvider
public abstract class AbstractIndexAnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer>
extends Object
implements AnalyzerProvider<T>
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractIndexAnalyzerProvider
(String name, Settings settings) Constructs a new analyzer component, with the index name and its settings and the analyzer name. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
name()
Returns the injected name of the analyzer.final AnalyzerScope
scope()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.index.analysis.AnalyzerProvider
get
-
Constructor Details
-
AbstractIndexAnalyzerProvider
Constructs a new analyzer component, with the index name and its settings and the analyzer name.- Parameters:
name
- The analyzer name
-
-
Method Details
-
name
Returns the injected name of the analyzer.- Specified by:
name
in interfaceAnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer>
-
scope
- Specified by:
scope
in interfaceAnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer>
-