Configuring the Workflow Center index
You can configure the indexing process to automatically update the index on a preset schedule. You can also set the index location, and you can disable indexing altogether.
The following XML snippet shows the default
values:
<server>
<search-index>
<artifact-index-enabled merge="replace">true</artifact-index-enabled>
<artifact-index-update-interval merge="replace">60</artifact-index-update-interval>
</search-index>
</server>To change these settings, either add these properties to the 100Custom.xml file manually or use the updateBPMConfig command and then change the default values as needed. For information about the updateBPMConfig command, see updateBPMConfig command. For information about changing the 100Custom.xml files, see Creating a 100Custom.xml configuration file.
- Setting the update interval
- To set an update interval, reconfigure this line:
<artifact-index-update-interval>60</artifact-index-update-interval>.
- Disabling the index
- To disable indexing, reconfigure this line:
<artifact-index-enabled>true</artifact-index-enabled>.
Setting the index location
To change the index location, log in to the administrative console and select Environment > WebSphere Variables.
- Setting the location for a cluster server
- Edit the BPM_SEARCH_ARTIFACT_INDEX variable. For a network deployment environment, set the scope
to the application cluster level. The default is
$<BPM_SEARCH_ARTIFACT_INDEX_ROOT>/<clusterName>
- Setting the location for a stand-alone server
- For a stand-alone server, set the scope to the cell level. The
default is
$<BPM_SEARCH_ARTIFACT_INDEX_ROOT>/$<WAS_SERVER_NAME>. If the variable is not set, the location defaults to$<USER_INSTALL_ROOT>/searchIndex/artifact/$<WAS_SERVER_NAME>.