This feature is not available in the Squiz DXP. deletes a collection, including its gathered documents, indexes, configuration, scheduled updates and logs. It also removes references to the collection from user configuration files.

$ <collection config>
Table of Contents


  • The collection configuration file must be specified, and must be a filesystem path to an existing, readable and valid collection configuration file.

Function will delete all data and configuration associated with the collection, including:

  • gathered documents

  • indexes

  • configuration

  • scheduled updates

  • logs

  • reports (including the collection directory under reports_temp)

  • references to the deleted collection in other configuration files will not delete a collection that is currently updating, or in any state other than "normal" (serving queries only). There is no undo function after deleting a collection, and the script does not prompt the user to check if it is deleting the right collection. It will delete files under the collection root, even if they are symlinked to the systems root or other important directory. It should be used with care.