public class PreBuiltTokenizerFactoryFactory extends java.lang.Object implements AnalysisModule.AnalysisProvider<TokenizerFactory>
| Constructor and Description |
|---|
PreBuiltTokenizerFactoryFactory(TokenizerFactory tokenizerFactory) |
| Modifier and Type | Method and Description |
|---|---|
TokenizerFactory |
get(IndexSettings indexSettings,
Environment environment,
java.lang.String name,
Settings settings)
Creates a new analysis provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, requiresAnalysisSettingspublic PreBuiltTokenizerFactoryFactory(TokenizerFactory tokenizerFactory)
public TokenizerFactory get(IndexSettings indexSettings, Environment environment, java.lang.String name, Settings settings) throws java.io.IOException
AnalysisModule.AnalysisProviderget in interface AnalysisModule.AnalysisProvider<TokenizerFactory>indexSettings - the index settings for the index this provider is created forenvironment - the nodes environment to load resources from persistent storagename - the name of the analysis componentsettings - the component specific settings without context prefixesjava.io.IOException - if an IOException occurs