| Package | Description |
|---|---|
| org.hibernate.search.backend.impl.lucene | |
| org.hibernate.search.backend.impl.lucene.works |
| Modifier and Type | Method and Description |
|---|---|
IndexWorkVisitor<Void,LuceneWorkExecutor> |
LuceneBackendResources.getWorkVisitor() |
| Modifier and Type | Class and Description |
|---|---|
class |
ByTermDeleteWorkExecutor
Extension of
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. |
class |
ByTermUpdateWorkExecutor
This applies the index update operation using the Lucene operation
IndexWriter.updateDocument(org.apache.lucene.index.Term, java.lang.Iterable<? extends org.apache.lucene.index.IndexableField>). |
class |
DeleteExtWorkExecutor
Extension of
DeleteLuceneWork bound to a single entity. |
class |
UpdateExtWorkExecutor
This applies the index update operation using the Lucene operation
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). |
class |
UpdateWorkExecutor |
| Modifier and Type | Method and Description |
|---|---|
LuceneWorkExecutor |
IndexUpdateVisitor.visitAddWork(AddLuceneWork addLuceneWork,
Void p) |
LuceneWorkExecutor |
IndexUpdateVisitor.visitDeleteByQueryWork(DeleteByQueryLuceneWork deleteByQueryLuceneWork,
Void p) |
LuceneWorkExecutor |
IndexUpdateVisitor.visitDeleteWork(DeleteLuceneWork deleteLuceneWork,
Void p) |
LuceneWorkExecutor |
IndexUpdateVisitor.visitFlushWork(FlushLuceneWork flushLuceneWork,
Void p) |
LuceneWorkExecutor |
IndexUpdateVisitor.visitOptimizeWork(OptimizeLuceneWork optimizeLuceneWork,
Void p) |
LuceneWorkExecutor |
IndexUpdateVisitor.visitPurgeAllWork(PurgeAllLuceneWork purgeAllLuceneWork,
Void p) |
LuceneWorkExecutor |
IndexUpdateVisitor.visitUpdateWork(UpdateLuceneWork updateLuceneWork,
Void p) |
Copyright © 2006–2015 Hibernate. All rights reserved.