org.hibernate.search.elasticsearch.analyzer.definition.ElasticsearchAnalysisDefinitionProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-elasticsearch Show documentation
Show all versions of hibernate-search-elasticsearch Show documentation
Hibernate Search backend which has indexing operations forwarded to Elasticsearch
/*
* Hibernate Search, full-text search for your domain model
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.search.elasticsearch.analyzer.definition;
import org.hibernate.search.elasticsearch.cfg.ElasticsearchEnvironment;
/**
* A provider of analysis-related definitions that can be referenced from the mapping,
* e.g. with {@literal @Analyzer(definition = "some-name")}
* or {@literal @Normalizer(definition = "some-other-name")}.
*
* Users can select a definition provider through the
* {@link ElasticsearchEnvironment#ANALYSIS_DEFINITION_PROVIDER configuration properties}.
*
* @author Yoann Rodiere
*/
public interface ElasticsearchAnalysisDefinitionProvider {
void register(ElasticsearchAnalysisDefinitionRegistryBuilder builder);
}