org.hibernate.search.indexes.spi.IndexNameNormalizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-engine Show documentation
Show all versions of hibernate-search-engine Show documentation
Core of the Object/Lucene mapper, query engine and index management
/*
* 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 - 2025 Weber Informatics LLC | Privacy Policy