Access the Search configuration environment
You need to initialize the Search configuration environment to be able to run the SearchCellConfig and SearchService MBean commands.
Before starting
See Starting the wsadmin client for information about how to start the wsadmin command-line tool.
About this task
Two types of command are provided for administering the Search application:An MBean used to check out, update, and check in copies of the Search configuration file, search-config.xml. This file is used to control many aspects of Search configuration, such as:
- The location of the Search index
- The location of the IBM LanguageWare dictionaries used by Search
- The configuration of the file download and conversion service used by Search when indexing file attachments
The SearchCellConfig MBean also provides the user with a means of checking out and checking in the Search Ajax proxy configuration file, proxy-search-config.xml.
For more information about the syntax of the SearchCellConfig commands and a description of what each command does, see SearchCellConfig commands.
An MBean used to create, retrieve, update, and delete scheduled task definitions of the following Search operations. This includes a facility to trigger one of these operations.
- Indexing
- Indexing optimization
This is implemented by scheduling a one-off task that is scheduled to run within 30 seconds of issuing the corresponding SearchService command.
For more information about the syntax of the SearchService commands and a description of what each command does, see SearchService commands.
Procedure
To initialize the Search configuration environment...
- 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.
Parent topic
Administer SearchRelated reference
SearchCellConfig commands
SearchService commands