Package org.imixs.archive.documents
Class DocumentIndexer
java.lang.Object
org.imixs.archive.documents.DocumentIndexer
The DocumentIndexer is a CDI bean reacting on IndexEvents and extends the
searchable content of a workitem with the textual data of attached files. The
additional text to be indexed is expected in the custom attribute 'text' for
each fileData object.
- Author:
- rsoika
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(org.imixs.workflow.engine.index.IndexEvent event) Update the textContent based on the optional content attribute of the FileData.
-
Constructor Details
-
DocumentIndexer
public DocumentIndexer()
-
-
Method Details
-
onEvent
public void onEvent(@Observes org.imixs.workflow.engine.index.IndexEvent event) Update the textContent based on the optional content attribute of the FileData.- Parameters:
event- - the index event
-