Synonym tool usage
You can use the command-line synonym tool to define synonyms for an IBM® Content Search Services server. The tool is installed as part of the IBM Content Search Services server installation.
Use the following command-line syntax to run the synonym
tool:
synonymToolcommand -configPath path [-language code] [-locale setting][... other arguments ...]
For example:
/user/server/synonymTool.sh removeSynonym -configPath "/user/server/config" -locale fr -language frThe syntax consists of the following elements:
- synonymTool
- synonymTool is the script that you use to run
the synonym tool. For the Windows platform,
the script is
synonymTool.bat. For all other platforms, the script issynonymTool.sh. The script is in theserver-home/bindirectory, where server-home is the root directory for the installed server. - command
- The command is a command option such as help. For information about other commands, see Setting synonyms for full-text searches.
- path
- For
-configPath. The path is the path to the directory that contains the configuration.xml file. This file contains the configuration information for the server. - code
- For -language. The two-character language code that indicates the language to which the synonyms apply. For information about these language codes, see Text indexing languages.
- setting
- Optional: For
-locale. For information about the locale setting, see Locale setting.