Validating seedlists using the wsadmin client 

If you experience issues when indexing, use the SearchService.validateSeedlist command to validate the seedlist and help you to isolate the problem.


Before starting

To use SearchService administrative commands, use the wsadmin client. See Starting the wsadmin client for information about how to start the wsadmin command-line tool.


About this task

The SearchService.validateSeedlist command allows you to validate a specified application, which can help you to identify problems when indexing. When you run this command, the Search application retrieves the seedlist for the specified application. If the command runs successfully, it then iterates through the full seedlist, parsing the XML of all the entries in the seedlist. If an error is encountered, the command returns a string indicating that the validation has failed. Otherwise, the command returns a string indicating that the validation has succeeded.

To validate the seedlist for a specified application...


Procedure

  1. From the dmgr host:

      cd $DMGR_PROFILE/bin
      ./wsadmin.sh -jython
      execfile("searchAdmin.py")

      If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.

  2. Use the following command to validate the seedlist for a specified application:

      Table 1. The SearchService.validateSeedlist command
      Command Description
      SearchService.validateSeedlist(String component) Validates the seedlist for the specified application.

      This command takes a string value, which is the name of the application whose seedlist is to be validated. The following values are valid: activities, blogs, communities, dogear, files, forums, profiles, and wikis.

      For example:



Parent topic

Validating Search seedlists


Related tasks


Starting the wsadmin client


   

 

});

+

Search Tips   |   Advanced Search