public interface ElasticsearchCompositeAnalysisDefinitionContext
Modifier and Type | Method and Description |
---|---|
ElasticsearchCompositeAnalysisDefinitionContext |
withCharFilters(String... names)
Set the char filters that the normalizer will use.
|
ElasticsearchCompositeAnalysisDefinitionContext |
withTokenFilters(String... names)
Set the token filters that the normalizer will use.
|
ElasticsearchCompositeAnalysisDefinitionContext withCharFilters(String... names)
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 filter
from Hibernate Search
,
by configuring the Elasticsearch server directly, or by using built-in tokenizers.ElasticsearchCompositeAnalysisDefinitionContext withTokenFilters(String... names)
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 filter
from Hibernate Search
,
by configuring the Elasticsearch server, or by using built-in tokenizers.Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.