Listing enabled dictionaries 

Use the listDictionaries command to check which dictionaries are currently enabled for use with Search.


Before you begin

When using administrative commands, use the IBM WAS wsadmin client. See Starting the wsadmin client for details.


Procedure

To list the dictionaries that are currently enabled...

  1. From the dmgr host:

    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. Check out the Search cell-level configuration file using the following command:

      SearchCellConfig.checkOutConfig("<working_dir>", "<cellName>")

      where:

      • <working_dir> is the temporary directory to which you want to check out the cell level configuration file. This directory must exist on the server where you are running the wsadmin client. Use forward slashes to separate directories in the file path, even if you are using the Microsoft Windows operating system.

          AIX and Linux only: The directory must grant write permissions or the command will not run successfully.

      • <cellName> is the name of the cell that the Search node belongs to. This argument is required. It is also case-sensitive, so type it with care. If you do not know the cell name, you can determine it by typing the following command while in the wsadmin command processor:

          print AdminControl.getCell()

      For example:

      SearchCellConfig.checkOutConfig("c:/search_temp", "SearchServerNode01Cell")

  3. To list the dictionaries currently enabled for use with Search, use the following command:

      SearchCellConfig.listDictionaries()

        Lists the LanguageWare dictionaries that are configured for Search. These dictionaries are used by common Search to support indexing multilingual content and searching in multiple languages.

        This command does not take any input parameters.


Parent topic

Configure dictionaries for Search


Related tasks


Enable dictionaries
Setting the default dictionary
Disable dictionaries

Related reference
SearchCellConfig commands
Search language dictionaries


   

 

});