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 you begin
About this task
Procedure
To validate the seedlist for a specified application,
complete the following steps:
-
Start the wsadmin client from one of the following directories on the system on which you
installed the Deployment Manager:
Linux:
app_server_root\profiles\dm_profile_root\bin
Windows:
where app_server_root is the WebSphere® Application Server installation directory and dm_profile_root is the Deployment Manager profile directory, typically dmgr01.app_server_root/profiles/dm_profile_root/bin
You must start the client from this directory or subsequent commands that you enter do not execute correctly.
- After the wsadmin command environment
has initialized, enter the following command to initialize the Search
environment and start the Search script interpreter:
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, you must pick the node where the file is stored.When the command is run successfully, the following message displays:Search Administration initialized
- 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:SearchService.validateSeedlist("communities")
Results
CLFRW0262I: Seedlist validation successful.
If
the following message is returned, review the log file from the relevant
application to determine the problem:CLFRW0263I: Seedlist validation failed. Refer to the log for details.
For
example, if you are verifying the seedlist for Profiles, you need
to review the log file from the Profiles application.