Validate seedlists using wsadmin.sh
Overview
To help resolve issues when indexing, use...
SearchService.validateSeedlist
...which retrieves the seedlist for the specified application, then iterates through the full seedlist, parsing the XML of all the entries in the seedlist. Any validation errors are returned in a string.
Validate the seedlist for a specified application
- Initialize the Search environment, and start the Search script interpreter:
app_server_root/profiles/Dmgr01/bin
./wsadmin.sh -lang jython
execfile("searchAdmin.py")
- Validate the seedlist for a specified application:
SearchService.validateSeedlist(String component)
This command takes a string value, which is the name of the application whose seedlist is to be validated. Valid values:
activities, blogs, communities, dogear, files, forums, profiles, and wikis
For example:
SearchService.validateSeedlist("communities")
Results
When the seedlist for the specified application is working correctly, the following message is returned in the terminal window: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 we are verifying the seedlist for Profiles, review the log file from the Profiles application.
Parent topic:
Validate Search seedlists
Related:
Validate seedlists using the browser