org.hibernate.search.backend.elasticsearch.analysis.ElasticsearchAnalysisConfigurer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-backend-elasticsearch Show documentation
Show all versions of hibernate-search-backend-elasticsearch Show documentation
Hibernate Search Backend relying on remote Elasticsearch clusters
/*
* 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.backend.elasticsearch.analysis;
import org.hibernate.search.backend.elasticsearch.cfg.ElasticsearchIndexSettings;
/**
* An object responsible for configuring analysis in an Elasticsearch index,
* providing analysis-related definitions that can be referenced from the mapping.
*
* Users can select an analysis configurer through the
* {@link ElasticsearchIndexSettings#ANALYSIS_CONFIGURER configuration properties}.
*/
public interface ElasticsearchAnalysisConfigurer {
/**
* Configures analysis as necessary using the given {@code context}.
* @param context A context exposing methods to configure analysis.
*/
void configure(ElasticsearchAnalysisConfigurationContext context);
}