Package org.elasticsearch.index.analysis
Class AbstractIndexAnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer>
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.analysis.AbstractIndexAnalyzerProvider<T>
- All Implemented Interfaces:
Provider<T>
,AnalyzerProvider<T>
,IndexComponent
- Direct Known Subclasses:
CustomAnalyzerProvider
,CustomNormalizerProvider
,KeywordAnalyzerProvider
,LowercaseNormalizerProvider
,SimpleAnalyzerProvider
,StandardAnalyzerProvider
,StopAnalyzerProvider
,WhitespaceAnalyzerProvider
public abstract class AbstractIndexAnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer>
extends AbstractIndexComponent
implements AnalyzerProvider<T>
-
Field Summary
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
-
Constructor Summary
ConstructorDescriptionAbstractIndexAnalyzerProvider(IndexSettings indexSettings, String name, Settings settings)
Constructs a new analyzer component, with the index name and its settings and the analyzer name. -
Method Summary
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
getIndexSettings, index
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:
indexSettings
- the settings and the name of the indexname
- 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>
-