public final class UpdateExtWorkDelegate extends UpdateWorkDelegate
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|
Will perform work on an IndexWriter.
public void performWork(LuceneWork work, IndexWriter writer, IndexingMonitor monitor)
Copyright © 2006-2014 Red Hat, Inc. All Rights Reserved