public final class ByTermDeleteWorkExecutor extends Object
DeleteLuceneWork
that will always perform the
delete LuceneWork in an optimal way, since the underlying data store guarantee
uniqueness of terms across different entity types.DeleteWorkExecutor
Modifier and Type | Method and Description |
---|---|
protected static boolean |
isIdNumeric(DocumentBuilderIndexedEntity documentBuilder) |
void |
performWork(LuceneWork work,
IndexWriterDelegate delegate,
IndexingMonitor monitor)
Will perform work on an IndexWriter.
|
protected final Workspace workspace
public void performWork(LuceneWork work, IndexWriterDelegate delegate, IndexingMonitor monitor)
LuceneWorkExecutor
performWork
in interface LuceneWorkExecutor
work
- the LuceneWork to apply to the IndexWriter.delegate
- the IndexWriterDelegate to use.monitor
- will be notified of performed operationsprotected static boolean isIdNumeric(DocumentBuilderIndexedEntity documentBuilder)
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved