Installing OpenSearch indexes

Install OpenSearch indexes to enable the search feature.

Before you begin

To run these scripts, you must have set up OpenSearch and you must have its host name, port number, and valid connection credentials available.

Before installing the OpenSearch indexes, you must have installed the following OpenSearch plugins:
  • Ingest Attachment Processor Plugin
  • ICU Analysis Plugin

Installing these plugins requires that OpenSearch is not running, or requires a restart of OpenSearch. For more information about installing these plugins, refer to https://opensearch.org/docs/latest/install-and-configure/plugins/.

Procedure

  1. Do one of the following:
    • If you are installing on a Windows environment, open a PowerShell command shell.
    • If you are installing on a Unix environment, open a Unix command shell.
  2. To install the indexes for search, navigate to the installation media folder Content Delivery\roles\iq\opensearch\.
  3. Do one of the following:
    • If you are installing on a Windows environment, enter .\installOpenSearchIndexes.ps1 but do not yet press Enter.
    • If you are installing on a Unix environment, enter .\installOpenSearchIndexes.sh but do not yet press Enter.
  4. Add command line switches, with values, to your command as needed.
  5. Press Enter.
    The script creates the indexes.