public class IndicesModule extends AbstractModule
| Constructor and Description |
|---|
IndicesModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindHunspellExtension() |
protected void |
bindMapperExtension() |
protected void |
bindQueryParsersExtension() |
protected void |
configure()
Configures a
Binder via the exposed methods. |
MapperRegistry |
getMapperRegistry() |
void |
registerHunspellDictionary(String name,
org.apache.lucene.analysis.hunspell.Dictionary dictionary) |
void |
registerMapper(String type,
Mapper.TypeParser parser)
Register a mapper for the given type.
|
void |
registerMetadataMapper(String name,
MetadataFieldMapper.TypeParser parser)
Register a root mapper under the given name.
|
void |
registerQueryParser(Class<? extends QueryParser> queryParser) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic void registerQueryParser(Class<? extends QueryParser> queryParser)
public void registerHunspellDictionary(String name, org.apache.lucene.analysis.hunspell.Dictionary dictionary)
public void registerMapper(String type, Mapper.TypeParser parser)
public void registerMetadataMapper(String name, MetadataFieldMapper.TypeParser parser)
protected void configure()
AbstractModuleBinder via the exposed methods.configure in class AbstractModulepublic MapperRegistry getMapperRegistry()
protected void bindMapperExtension()
protected void bindQueryParsersExtension()
protected void bindHunspellExtension()
Copyright © 2009–2017. All rights reserved.