Interface ElasticsearchAnalysisOptionalComponentsStep
- All Known Subinterfaces:
ElasticsearchAnalyzerOptionalComponentsStep
,ElasticsearchNormalizerOptionalComponentsStep
public interface ElasticsearchAnalysisOptionalComponentsStep
The step in an analyzer/normalizer definition
where optional components such as char filters or token filters can be added.
-
Method Summary
Modifier and TypeMethodDescriptioncharFilters
(String... names) Set the char filters that the normalizer will use.tokenFilters
(String... names) Set the token filters that the normalizer will use.
-
Method Details
-
charFilters
Set the char filters that the normalizer will use.- Parameters:
names
- The name of each char filters to use, in order. There must be a corresponding char filter definition on the Elasticsearch server. This can be achieved by defining the char filterfrom Hibernate Search
, by configuring the Elasticsearch server directly, or by using built-in tokenizers.- Returns:
this
, for method chaining.
-
tokenFilters
Set the token filters that the normalizer will use.- Parameters:
names
- The name of the token filters to use, in order. There must be a corresponding token filter definition on the Elasticsearch server. This can be achieved by defining the token filterfrom Hibernate Search
, by configuring the Elasticsearch server, or by using built-in tokenizers.- Returns:
this
, for method chaining.
-