Package org.elasticsearch.index.analysis
Class CustomNormalizerProvider
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.analysis.AbstractIndexAnalyzerProvider<CustomAnalyzer>
org.elasticsearch.index.analysis.CustomNormalizerProvider
- All Implemented Interfaces:
Provider<CustomAnalyzer>,AnalyzerProvider<CustomAnalyzer>,IndexComponent
A custom normalizer that is built out of a char and token filters. On the
contrary to analyzers, it does not support tokenizers and only supports a
subset of char and token filters.
-
Field Summary
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger -
Constructor Summary
ConstructorsConstructorDescriptionCustomNormalizerProvider(IndexSettings indexSettings, String name, Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(TokenizerFactory tokenizerFactory, Map<String,CharFilterFactory> charFilters, Map<String,TokenFilterFactory> tokenFilters)get()Provides an instance ofT.Methods inherited from class org.elasticsearch.index.analysis.AbstractIndexAnalyzerProvider
name, scopeMethods inherited from class org.elasticsearch.index.AbstractIndexComponent
getIndexSettings, index
-
Constructor Details
-
CustomNormalizerProvider
-
-
Method Details
-
build
public void build(TokenizerFactory tokenizerFactory, Map<String,CharFilterFactory> charFilters, Map<String,TokenFilterFactory> tokenFilters) -
get
Description copied from interface:ProviderProvides an instance ofT. Must never returnnull.
-