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

org.hibernate.search.indexes.interceptor.IndexingOverride 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.interceptor;

/**
 * Set of possible indexing operations
 *
 * @author Emmanuel Bernard
 */
public enum IndexingOverride {
	/**
	 * Let Hibernate Search engine apply the standard operation
	 * without overriding it
	 */
	APPLY_DEFAULT,

	/**
	 * Skip any indexing operation
	 */
	SKIP,

	/**
	 * Force an entity to be removed from the index
	 * This operation can be safely requested regardless
	 * of the actual presence of the entity in the index
	 */
	REMOVE,

	/**
	 * Update the entity index.
	 *
	 * It is safe to update an entity that has not been added yet.
	 */
	UPDATE
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy