workflow.publish_hook.batch

Background

Similar to workflow.publish_hook, however the script will not be called on every file modification. Instead the script will be called sometime after the file is modified, if it still makes sense to be called.

Although this script is called with the same arguments as workflow.publish_hook, this script should not be relied upon for auditing. Since it will not be called for all modifications, and the user given to the script will not be the user that made the modification.

Setting the key

Set this configuration key in the search package or data source configuration.

Use the configuration key editor to add or edit the workflow.publish_hook.batch key, and set the value. This can be set to any valid String value.

Default value

There’s no publish hook by default

Examples

Call a specific publish hook script:

workflow.publish_hook.batch=$SEARCH_HOME/bin/publish-to-remote.pl

Call the provided publish hook for multiple query processor setups:

workflow.publish_hook.batch=$SEARCH_HOME/bin/publish_hook.pl