public class UndefinedElasticsearchAnalyzerImpl extends Object implements ElasticsearchAnalyzer
Such an analyzer is expected to be defined separately on Elasticsearch.
This implementation is used whenever @Analyzer(definition = "foo")
is encountered
and no @AnalyzerDefinition
exists with the given name
("foo" in this example).
Constructor and Description |
---|
UndefinedElasticsearchAnalyzerImpl(String remoteName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
equals(Object obj) |
String |
getName(String fieldName) |
int |
hashCode() |
String |
registerDefinitions(ElasticsearchAnalysisDefinitionRegistry registry,
String fieldName) |
String |
toString() |
public UndefinedElasticsearchAnalyzerImpl(String remoteName)
public String getName(String fieldName)
getName
in interface RemoteAnalyzer
public String registerDefinitions(ElasticsearchAnalysisDefinitionRegistry registry, String fieldName)
registerDefinitions
in interface ElasticsearchAnalyzer
registry
- The registry analysis definitions should be registered to.fieldName
- The name of the field whose analyzer definitions should be registered.public void close()
close
in interface RemoteAnalyzer
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved