+

Search Tips   |   Advanced Search

Change the location of the Search index

By default, the Search index is stored in the search/index subdirectory of the Connections data directory defined at install time, for example...

This location can be changed by editing the WAS 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.

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

To change the location of the Search index.

  1. Launch the WAS console.

  2. Select Environment > WebSphere variables.

  3. Select the SEARCH_INDEX_DIR environment variable from the list of defined variables. Depending on the deployment choices, there might be more than one SEARCH_INDEX_DIR variable defined. Recommended you have consistent locations for the Search index directory across the nodes in the deployment.

  4. 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.

  5. Save the changes to the configuration.

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


Parent topic:
Index settings


Related:

Manage the Search index

The indexing process

Create Search indexes


Related:

Change WAS environment variables

Create the initial Search index