Documentation Center

Removing a concept scheme from the OpenSearch index

Because it is not possible to unpublish a concept scheme from the Content Manager, Tridion Sites comes with a management script that you can run on the server, and that enables you to remove a published concept scheme from the OpenSearch index directly. This is only possible if the concept scheme and its concepts are not being referenced by any content item.

Procedure

  1. On your installation media, go to Content Delivery\roles\iq\opensearch\.
  2. Do one of the following:
    • If you are on a Windows machine, copy manageOpenSearchIndex.ps1.
    • If you are on a Unix machine, copy manageOpenSearchIndex.sh.
  3. To remove a concept scheme from the index, do one of the following:
    • On a Windows machine PowerShell command prompt, execute the Powershell command manageOpenSearchIndex.ps1 -RemoveConceptSchemeId CONCEPTSCHEMEID.
    • On a Unix machine command shell prompt, execute the shell command manageOpenSearchIndex.sh --RemoveConceptSchemeId CONCEPTSCHEMEID.
    where CONCEPTSCHEMEID is the identifier of the concept scheme you are trying to remove.