Skip to content

Changing the location of the Search index

By default, the Search index is stored in the search/index subdirectory of the HCL Connections data directory defined at install time, for example, on Linux®, /opt/IBM/Connections/data/local/search/index. This location can be changed by editing the IBM® WebSphere® Application Server variable, SEARCH_INDEX_DIR.

Each node running the Search application requires its own dedicated index on the file system. Using a Search index on a network share is not supported. Highly-available network storage, such as a storage area network (SAN), can be used but it must be configured to be locally mounted to each node running the Search application.

Note: Changing the value of the SEARCH_INDEX_DIR variable causes the next indexing task that fires to index all content from the beginning, so that the task creates a clean index. This operation might take some time to complete.

  1. To change the location of the Search index, complete the following steps.
  2. Launch the WebSphere Application Server Integrated Solutions Console.

  3. Select Environment > WebSphere variables.

  4. Select the SEARCH_INDEX_DIR environment variable from the list of defined variables.

    Depending on your deployment choices, there might be more than one SEARCH_INDEX_DIR variable defined. It is recommended that you have consistent locations for the Search index directory across the nodes in your deployment.

  5. Change all the SEARCH_INDEX_DIR variables by selecting each variable, entering a new location for the variable in the Value field, and then clicking OK.

  6. Save your changes to the configuration.

  7. Restart the Search server or servers for your changes to take effect.

Parent topic:Index settings

Related information

Changing WebSphere Application Server environment variables

Managing the Search index

The indexing process

Creating Search indexes

Creating the initial Search index