org.hibernate.search.backend.impl.lucene.works
public final class DeleteExtWorkDelegate extends Object
DeleteLuceneWork bound to a single entity.
This allows to perform the delete LuceneWork in an optimal way in case
the index is NOT shared across different entities (which is the default).DeleteWorkDelegate| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
isIdNumeric(DocumentBuilderIndexedEntity<?> documentBuilder) |
void |
performWork(LuceneWork work,
IndexWriter writer,
IndexingMonitor monitor)
Will perform work on an IndexWriter.
|
protected final Workspace workspace
public void performWork(LuceneWork work, IndexWriter writer, IndexingMonitor monitor)
LuceneWorkDelegateperformWork in interface LuceneWorkDelegatework - the LuceneWork to apply to the IndexWriter.writer - the IndexWriter to use.monitor - will be notified of performed operationsprotected static boolean isIdNumeric(DocumentBuilderIndexedEntity<?> documentBuilder)
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved