public interface LuceneIndexer
Bean contains operations for working with lucene documents for CUBA entities.
Modifier and Type | Interface and Description |
---|---|
static interface |
LuceneIndexer.DocumentCreatedListener |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
void |
addListener(LuceneIndexer.DocumentCreatedListener documentCreatedListener) |
void |
deleteAllDocuments() |
void |
deleteDocumentsForEntity(java.lang.String entityName) |
void |
indexEntity(java.lang.String entityName,
java.lang.Object entityId,
com.haulmont.cuba.core.entity.FtsChangeType changeType,
org.apache.lucene.index.IndexWriter writer) |
static final java.lang.String NAME
void indexEntity(java.lang.String entityName, java.lang.Object entityId, com.haulmont.cuba.core.entity.FtsChangeType changeType, org.apache.lucene.index.IndexWriter writer) throws IndexingException
IndexingException
void addListener(LuceneIndexer.DocumentCreatedListener documentCreatedListener)
void deleteAllDocuments()
void deleteDocumentsForEntity(java.lang.String entityName)