Class 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 Detail

      • DocumentIndexer

        public DocumentIndexer()
    • Method Detail

      • 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