If a problem occurs with the task index, you might need to run a command to rebuild the task index. You can also update the index for a particular task, or remove a task from the index.
In a network deployment environment, all cluster members on the same node share the index by default. Run the commands for updating the index on the deployment manager. To specify where the command runs, include the -host host_name parameter of the node and the -port SOAP_port parameter of an application cluster member. Repeat the command for each node in the cluster. The default values for these parameters are -host localhost -port 8880.
taskIndexFullReIndex.bat -user tw_admin -password tw_admin -host host_name -port SOAP_port
taskIndexFullReIndex.sh -user tw_admin -password tw_admin -host host_name -port SOAP_port
This command deletes the existing task index and creates a new index.
While the index is being built, the task search facility is unavailable.If you do not change the default configuration settings, the task index is updated every 10 seconds. However, you can also trigger updates to the task index from the command line.
taskIndexUpdate.bat -user tw_admin -password tw_admin -host host_name -port SOAP_port taskID
taskIndexUpdate.sh -user tw_admin -password tw_admin -host host_name -port SOAP_port taskID
The index is updated for the specified task, regardless
of its state. For example, even if the specified task is in the completed
state and the <task-index-update-completed-tasks> configuration setting is set to false, the index
will still be updated for the task.taskIndexDeleteTask.bat -user tw_admin -password tw_admin -host host_name -port SOAP_port taskID
taskIndexDeleteTask.sh -user tw_admin -password tw_admin -host host_name -port SOAP_port taskID
taskIndexRemoveDeletedTasks.bat -user tw_admin -password tw_admin -host host_name -port SOAP_port
taskIndexRemoveDeletedTasks.sh -user tw_admin -password tw_admin -host host_name -port SOAP_port