Class ItemIndexer
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.index.server.indexer.BaseIndexer<Item>
com.echothree.model.control.item.server.indexer.ItemIndexer
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields inherited from class com.echothree.model.control.index.server.indexer.BaseIndexer
coreControl, eea, entityAliasTypes, entityAttributes, entityType, index, indexControl, indexStatus, indexWriter, language, log, tagControl, tagScopes, workflowControl
-
Constructor Summary
ConstructorsConstructorDescriptionItemIndexer
(ExecutionErrorAccumulator eea, Index index) Creates a new instance of ItemIndexer -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.lucene.document.Document
convertToDocument
(EntityInstance entityInstance, Item item) protected org.apache.lucene.analysis.Analyzer
protected Item
getEntity
(EntityInstance entityInstance) Methods inherited from class com.echothree.model.control.index.server.indexer.BaseIndexer
addEntityToIndex, close, closeIndexWriter, forceReindex, getEntityType, getIndex, newDocumentWithEntityInstanceFields, open, openIndexWriter, removeEntityFromIndex, updateIndex
Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Constructor Details
-
ItemIndexer
Creates a new instance of ItemIndexer
-
-
Method Details
-
getAnalyzer
- Overrides:
getAnalyzer
in classBaseIndexer<Item>
-
getEntity
- Specified by:
getEntity
in classBaseIndexer<Item>
-
convertToDocument
protected org.apache.lucene.document.Document convertToDocument(EntityInstance entityInstance, Item item) - Specified by:
convertToDocument
in classBaseIndexer<Item>
-