post_collection_create_script

Name of script to run after the collection has been created.

Key: post_collection_create_script
Type: String
Can be set in: global.cfg

Description

This option specifies the location of the script to execute after a collection has been created. Note that only a single script path will be accepted; specifying additional arguments or a shell literal will result in an error.

After a collection is created, the script will be called with the following arguments:

collection_name

Name of the collection that is being created.

Default Value

There’s no collection creation hook by default.

Examples

Call a specific hook script after a collection has been created.

post_collection_create_script=$SEARCH_HOME/bin/my-collection-create-hook.pl

See Also