public final class UpdateExtWorkExecutor extends UpdateWorkExecutor
IndexWriter.updateDocument(Term, Iterable)
This is the most efficient way to update the index, but we can apply it only if the Document is uniquely identified
by a single term (so no index sharing across entities or Numeric ids).| 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–2016 Hibernate. All rights reserved.