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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ElasticsearchAnalysisOptionalComponentsStep
charFilters(String... names)
Set the char filters that the normalizer will use.ElasticsearchAnalysisOptionalComponentsStep
tokenFilters(String... names)
Set the token filters that the normalizer will use.
-
-
-
Method Detail
-
charFilters
ElasticsearchAnalysisOptionalComponentsStep charFilters(String... names)
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
ElasticsearchAnalysisOptionalComponentsStep tokenFilters(String... names)
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.
-
-