Package org.elasticsearch.index.analysis
Class CustomAnalyzerProvider
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.analysis.AbstractIndexAnalyzerProvider<org.apache.lucene.analysis.Analyzer>
org.elasticsearch.index.analysis.CustomAnalyzerProvider
- All Implemented Interfaces:
Provider<org.apache.lucene.analysis.Analyzer>
,AnalyzerProvider<org.apache.lucene.analysis.Analyzer>
,IndexComponent
public class CustomAnalyzerProvider
extends AbstractIndexAnalyzerProvider<org.apache.lucene.analysis.Analyzer>
A custom analyzer that is built out of a single
Tokenizer
and a list
of TokenFilter
s.-
Field Summary
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
-
Constructor Summary
ConstructorDescriptionCustomAnalyzerProvider
(IndexSettings indexSettings, String name, Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.analysis.Analyzer
get()
Provides an instance ofT
.Methods inherited from class org.elasticsearch.index.analysis.AbstractIndexAnalyzerProvider
name, scope
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
getIndexSettings, index
-
Constructor Details
-
CustomAnalyzerProvider
-
-
Method Details
-
get
public org.apache.lucene.analysis.Analyzer get()Description copied from interface:Provider
Provides an instance ofT
. Must never returnnull
.
-