public final class ByTermUpdateWorkExecutor extends UpdateWorkExecutor
IndexWriter.updateDocument(org.apache.lucene.index.Term, java.lang.Iterable<? extends org.apache.lucene.index.IndexableField>).
This is the most efficient way to update the index, but underlying store
must guarantee that the term is unique across documents and entity types.| Modifier and Type | Method and Description |
|---|---|
void |
performWork(LuceneWork work,
IndexWriterDelegate delegate,
IndexingMonitor monitor)
Will perform work on an IndexWriter.
|
public void performWork(LuceneWork work, IndexWriterDelegate delegate, IndexingMonitor monitor)
LuceneWorkExecutorperformWork in interface LuceneWorkExecutorperformWork in class UpdateWorkExecutorwork - the LuceneWork to apply to the IndexWriter.delegate - the IndexWriterDelegate to use.monitor - will be notified of performed operationsCopyright © 2006–2015 Hibernate. All rights reserved.