public class CustomAnalyzerProvider extends AbstractIndexAnalyzerProvider<CustomAnalyzer>
Tokenizer
and a list
of TokenFilter
s.version
deprecationLogger, indexSettings, logger
Constructor and Description |
---|
CustomAnalyzerProvider(IndexSettings indexSettings,
java.lang.String name,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
void |
build(AnalysisService analysisService) |
CustomAnalyzer |
get()
Provides an instance of
T . |
name, scope
getIndexSettings, index
public CustomAnalyzerProvider(IndexSettings indexSettings, java.lang.String name, Settings settings)
public void build(AnalysisService analysisService)
public CustomAnalyzer get()
Provider
T
. Must never return null
.