org.elasticsearch.index.analysis
Class CustomAnalyzerProvider
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.analysis.AbstractIndexAnalyzerProvider<CustomAnalyzer>
org.elasticsearch.index.analysis.CustomAnalyzerProvider
- All Implemented Interfaces:
- org.elasticsearch.common.inject.Provider<CustomAnalyzer>, AnalyzerProvider<CustomAnalyzer>, IndexComponent
public class CustomAnalyzerProvider
- extends AbstractIndexAnalyzerProvider<CustomAnalyzer>
A custom analyzer that is built out of a single Tokenizer
and a list
of TokenFilter
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomAnalyzerProvider
@Inject
public CustomAnalyzerProvider(Index index,
java.util.Map<java.lang.String,TokenizerFactoryFactory> tokenizerFactories,
java.util.Map<java.lang.String,CharFilterFactoryFactory> charFilterFactories,
java.util.Map<java.lang.String,TokenFilterFactoryFactory> tokenFilterFactories,
@IndexSettings
Settings indexSettings,
java.lang.String name,
Settings settings)
get
public CustomAnalyzer get()