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
ConstructorsConstructorDescriptionConstructs a new analyzer component, with the index name and its settings and the analyzer name. -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringname()Returns the injected name of the analyzer.final AnalyzerScopescope()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
namein interfaceAnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer>
-
scope
- Specified by:
scopein interfaceAnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer>
-