workflow.publish_hook.meta

Name of the publish hook Perl script that will be called each time a meta collection is modified

Key: workflow.publish_hook.meta
Type: String
Can be set in: collection.cfg

Description

This options specifies the path to the Perl script to execute when a search package is edited and saved through the Admin UI.

This is used in multiple query processor environments to update the query processors when the list of component data sources of a search package changes.

Default Value

There’s no publish hook by default

Examples

Call the provided index publication script for multiple query processor setups:

workflow.publish_hook.meta=$SEARCH_HOME/bin/publish_index.pl $COLLECTION_NAME

⚠ Caveats

  • This setting only applies to editing search packages. A related setting, workflow.publish_hook can be used if you need to trigger actions on file publication.