public final class UpdateExtWorkDelegate extends UpdateWorkDelegate
org.apache.lucene.index.IndexWriter#updateDocument(Term, org.apache.lucene.document.Document, org.apache.lucene.analysis.Analyzer)
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,
org.apache.lucene.index.IndexWriter writer,
IndexingMonitor monitor)
Will perform work on an IndexWriter.
|
public void performWork(LuceneWork work, org.apache.lucene.index.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–2014 Hibernate. All rights reserved.