Class DocumentIndexer

java.lang.Object
org.imixs.archive.documents.DocumentIndexer

@RequestScoped public class DocumentIndexer extends Object
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 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