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

org.hibernate.search.backend.impl.lucene.works.LuceneWorkDelegate Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
/*
 * 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.impl.lucene.works;

import org.apache.lucene.index.IndexWriter;
import org.hibernate.search.backend.IndexingMonitor;
import org.hibernate.search.backend.LuceneWork;

/**
 * 

LuceneWorkDelegate interface.

* * @author Sanne Grinovero */ public interface LuceneWorkDelegate { /** * Will perform work on an IndexWriter. * * @param work the LuceneWork to apply to the IndexWriter. * @param writer the IndexWriter to use. * @param monitor will be notified of performed operations * @throws java.lang.UnsupportedOperationException when the work is not compatible with an IndexWriter. */ void performWork(LuceneWork work, IndexWriter writer, IndexingMonitor monitor); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy