public final class ByTermUpdateWorkDelegate extends UpdateWorkDelegate
IndexWriter.updateDocument(org.apache.lucene.index.Term, org.apache.lucene.document.Document).
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,
IndexWriter writer,
IndexingMonitor monitor)
Will perform work on an IndexWriter.
|
public void performWork(LuceneWork work, IndexWriter writer, IndexingMonitor monitor)
LuceneWorkDelegateperformWork in interface LuceneWorkDelegateperformWork in class UpdateWorkDelegatework - the LuceneWork to apply to the IndexWriter.writer - the IndexWriter to use.monitor - will be notified of performed operationsCopyright © 2006-2015 Red Hat, Inc. All Rights Reserved