/*
 * 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 <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate.search.elasticsearch.analyzer.definition;


/**
 * @author Yoann Rodiere
 *
 * @hsearch.experimental The specific API of this DSL is a prototype.
 * Please let us know what you like and what you don't like, and bear in mind
 * that this will likely change in any future version.
 */
public interface ElasticsearchAnalysisComponentDefinitionContext {

	/**
	 * Set the Elasticsearch type to use for the definition.
	 *
	 * @param name The value for the 'type' parameter in the Elasticsearch definition.
	 * @return A context allowing to define parameters.
	 */
	ElasticsearchTypedAnalysisComponentDefinitionContext type(String name);

}
