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, index, indexSettings, logger
Constructor and Description |
---|
AbstractIndexAnalyzerProvider(Index index,
Settings indexSettings,
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 |
---|---|
String |
name()
Returns the injected name of the analyzer.
|
AnalyzerScope |
scope() |
index, indexSettings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
public AbstractIndexAnalyzerProvider(Index index, Settings indexSettings, String name, Settings settings)
index
- The index nameindexSettings
- The index settingsname
- The analyzer namepublic final 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>
Copyright © 2009–2016. All rights reserved.