public abstract class ElasticsearchAnalyzerReference extends RemoteAnalyzerReference
ElasticsearchAnalyzer.| Constructor and Description |
|---|
ElasticsearchAnalyzerReference() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
abstract void |
initialize(ElasticsearchAnalysisDefinitionRegistry definitionRegistry,
ElasticsearchAnalyzerDefinitionTranslator translator)
Initialize the internals of this reference, so that enough information will be available
to execute
RemoteAnalyzerReference.getAnalyzerName(String) and
registerDefinitions(String, ElasticsearchAnalysisDefinitionRegistry). |
abstract boolean |
isInitialized() |
abstract void |
registerDefinitions(String fieldName,
ElasticsearchAnalysisDefinitionRegistry definitionRegistry)
Register definitions that will be needed in order to add the field named
fieldName
to the Elasticsearch mapping. |
getAnalyzerName, is, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNormalizerpublic abstract void registerDefinitions(String fieldName, ElasticsearchAnalysisDefinitionRegistry definitionRegistry)
fieldName
to the Elasticsearch mapping.fieldName - The name of the field for which every referenced analysis definition should be
registered.definitionRegistry - The registry to be populated (it may be empty).public abstract boolean isInitialized()
public abstract void initialize(ElasticsearchAnalysisDefinitionRegistry definitionRegistry, ElasticsearchAnalyzerDefinitionTranslator translator)
RemoteAnalyzerReference.getAnalyzerName(String) and
registerDefinitions(String, ElasticsearchAnalysisDefinitionRegistry).definitionRegistry - The registry holding all known analyzer definitions.translator - An ElasticsearchAnalyzerDefinitionTranslator.public void close()
Copyright © 2006–2017 Hibernate. All rights reserved.