A workflow component that writes the stream attached to an Aspire job to binary store. The stream can be written immediately, in which case it is consumed and will not be available to subsequent stages. If the “delayed write” option is selected, the stream is teed and reads from a subsequent stage (or the job being closed) will cause the binary to be written to the store. NOTE: if the stream has been consumed by a previous stage, no binary will be written. Prior stages such as “extract text” (including the one built in to most connectors) must be disabled.

The component takes the id of the binary to “write” from a configurable location in the Aspire document. The content source is similarly configurable, or a static value can be used. The component can be connected to any store service installed in Aspire.

The write component also supports clearing the repository when a full crawl start jobs is received (required start jobs to be enabled in the connector) and to “ignore” delete requests, leaving the content in the store rather than deleting.

Installation and configuration

Step 1. Launch Aspire and Open the Content Source Management Page


  1. Launch Aspire (if it's not already running).
  2. Go to Launch Control.
  3. Browse to: http://localhost:50505

For details on using the Aspire Content Source Management page, see Admin UI.



Step 2. Add a new Content Source


  1. For this step please follow the step from the Configuration Tutorial of the connector of you choice, please refer to Connector list.



Step 3. Add a new Write to Binary Store to the Workflow


To add a writer application drag from the Write to Binary Store rule from the Workflow Library and drop to the Workflow Tree where you want to add it.

This will automatically open the Write to Binary Store window for the configuration of the application.

If the workflow component is not shown, you can install a custom application with the co-ordinates com.accenture.aspire:app-binary-store-writer

Step 3a. Specify Application Information

 In the Write to Binary Store window, specify the requested information

  1. Binary store
    1. Store: Select the component that will be used to write to the store from the dropdown
    2. Clear store on full crawl: Select this option if the store should be cleared when a full crawl is performed
  2. Document
    1. Configure document id: Select this option if you wish to configure where in the Aspire document the document id is located. Otherwise the document id is taken from /doc/id
    2. Document Id field: The path to the document id in the Aspire document
    3. Get content source from document:
      1. When selected, the content source is taken from the Aspire document. When unselected, a static value for the content source is specified
      2. Content source field: The path to the content source in the Aspire document
      3. Content source:The static value for the content source
    4. Delayed write: Select this option use the data stream from the connector in a subsequent stage such as “extract text”. When delayed writing is enabled, reads from a subsequent stage cause the stream to be written to the store. Any unread data will be written to the store when the job is closed at the end of processing. If delayed writing is disabled, the data stream will be immediately consumed and written to the store. In this case, the stream will not be available to subsequent processing stages unless re-opened by a “read” component
    5. Disable deletes: Select this option if you want to ignore delete jobs and leave content in the store. Otherwise, deletes will cause the data to be removed from the store
  3. Debug: Select this option to enable debugging information
  4. Click Add to save the workflow component
  5. Click Save and then Done to return to the Content Source Management page 

  • No labels