public class ElasticsearchNormalizerDefinitionContextImpl extends Object implements ElasticsearchNormalizerDefinitionContext, ElasticsearchAnalysisDefinitionRegistryPopulator
Constructor and Description |
---|
ElasticsearchNormalizerDefinitionContextImpl(String name) |
Modifier and Type | Method and Description |
---|---|
void |
populate(ElasticsearchAnalysisDefinitionRegistry registry) |
ElasticsearchNormalizerDefinitionContext |
withCharFilters(String... names)
Set the char filters that the normalizer will use.
|
ElasticsearchNormalizerDefinitionContext |
withTokenFilters(String... names)
Set the token filters that the normalizer will use.
|
protected static final Log LOG
public ElasticsearchNormalizerDefinitionContextImpl(String name)
public ElasticsearchNormalizerDefinitionContext withCharFilters(String... names)
ElasticsearchCompositeAnalysisDefinitionContext
withCharFilters
in interface ElasticsearchCompositeAnalysisDefinitionContext
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.public ElasticsearchNormalizerDefinitionContext withTokenFilters(String... names)
ElasticsearchCompositeAnalysisDefinitionContext
withTokenFilters
in interface ElasticsearchCompositeAnalysisDefinitionContext
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.public void populate(ElasticsearchAnalysisDefinitionRegistry registry)
populate
in interface ElasticsearchAnalysisDefinitionRegistryPopulator
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved