The textSearchUtils.jacl script

This script re-indexes the repository to add new objects to the index, or remove deleted objects. The index is used by the enhanced search facility.

Usage

wsadmin -f textSearchUtils.jacl
     [ -wsrrhelp ]
     [ -wsrrhome <WSRR install directory> ]
     [ -cluster <cluster name> ] |
     [
       -cell <cell name>
       -node <node name>
       -server <server name>
     ]
     -action <action>

(entered as a single line)

Parameters

Parameter Description
-wsrrhelp Displays the script usage information.
-wsrrhome The <WSRR_INSTALL_ROOT> directory. This parameter is optional and, if omitted, defaults to the current directory. You must provide a value for this parameter if you are not running the script from the <WAS_INSTALL_ROOT>\WSRR\admin\scripts_cell directory.
-cluster In a cluster configuration, the name of the cluster on which WSRR is deployed.
-cell In a stand-alone or federated node configuration, the name of the cell in which WSRR is deployed.
-node In a stand-alone or federated node configuration, the name of the node on which WSRR is deployed.
-server In a stand-alone or federated node configuration, the name of the server on which WSRR is deployed.
-action The action to be performed. Can be one of:
  • REINDEX_MISSING - to add any object that has not been indexed
  • CLEAN_INDEX - to remove any entry from the index that is not in the registry
  • REINDEX_ALL - to re-index every object in the registry
Note: If you do not specify -wsrrhelp, then the parameters you supply must include either -cluster or -cell, -node and -server.

Examples

These commands are run from the <WAS_INSTALL_ROOT>\WSRR\admin\scripts_cell directory.
cd <WAS_INSTALL_ROOT>\WSRR\admin\scripts_cell
<WAS_INSTALL_ROOT>\bin\wsadmin -f textSearchUtils.jacl -cluster cluster1 -action REINDEX_MISSING
cd <WAS_INSTALL_ROOT>\WSRR\admin\scripts_cell
<WAS_INSTALL_ROOT>\bin\wsadmin -f textSearchUtils.jacl -cell cell1 -node node1 -server server1 -action CLEAN_INDEX