Interface ElasticsearchAnalysisDefinitionCollector
public interface ElasticsearchAnalysisDefinitionCollector
-
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(String name, AnalyzerDefinition definition) Collect an analyzer definition.voidcollect(String name, CharFilterDefinition definition) Collect a char filter definition.voidcollect(String name, NormalizerDefinition definition) Collect a normalizer definition.voidcollect(String name, TokenFilterDefinition definition) Collect a token filter definition.voidcollect(String name, TokenizerDefinition definition) Collect a tokenizer definition.
-
Method Details
-
collect
Collect an analyzer definition.- Parameters:
name- The name of the definition to be registered.definition- The definition to be registered.- Throws:
SearchException- if the name is already associated with a different definition.
-
collect
Collect a normalizer definition.- Parameters:
name- The name of the definition to be registered.definition- The definition to be registered.- Throws:
SearchException- if the name is already associated with a different definition.
-
collect
Collect a tokenizer definition.- Parameters:
name- The name of the definition to be registered.definition- The definition to be registered.- Throws:
SearchException- if the name is already associated with a different definition.
-
collect
Collect a token filter definition.- Parameters:
name- The name of the definition to be registered.definition- The definition to be registered.- Throws:
SearchException- if the name is already associated with a different definition.
-
collect
Collect a char filter definition.- Parameters:
name- The name of the definition to be registered.definition- The definition to be registered.- Throws:
SearchException- if the name is already associated with a different definition.
-