All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.search.indexes.spi.IndexNameNormalizer Maven / Gradle / Ivy

/*
 * 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.indexes.spi;

/**
 * Allows the caller of an {@link IndexManager} to get the actual name of the index in the
 * backend.
 *
 * @author Davide D'Alto
 */
public interface IndexNameNormalizer {

	/**
	 * Some index managers need to normalize the name of the index before using it with the backend,
	 * this method will return the actual name used by the index manager.
	 * 

* Elasticsearch, for example, will lowercase the name giving space to possible conflicts. * * @return the actual index name used by the index manager */ String getActualIndexName(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy