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)
LuceneWorkExecutor
performWork
in interface LuceneWorkExecutor
performWork
in class UpdateWorkExecutor
work
- the LuceneWork to apply to the IndexWriter.delegate
- the IndexWriterDelegate to use.monitor
- will be notified of performed operationsCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved