public abstract class AbstractIndexAnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer> extends AbstractIndexComponent implements AnalyzerProvider<T>
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.util.Version |
version |
deprecationLogger, indexSettings, logger
Constructor and Description |
---|
AbstractIndexAnalyzerProvider(IndexSettings indexSettings,
java.lang.String name,
Settings settings)
Constructs a new analyzer component, with the index name and its settings and the analyzer name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name()
Returns the injected name of the analyzer.
|
AnalyzerScope |
scope() |
getIndexSettings, index
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
public AbstractIndexAnalyzerProvider(IndexSettings indexSettings, java.lang.String name, Settings settings)
indexSettings
- the settings and the name of the indexname
- The analyzer namepublic final java.lang.String name()
name
in interface AnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer>
public final AnalyzerScope scope()
scope
in interface AnalyzerProvider<T extends org.apache.lucene.analysis.Analyzer>