You can use the command-line synonym tool to define synonyms for an index. 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:
synonymTool command –configPath path [-locale setting] [… <other arguments> …]
For example:
/user/server/synonymTool.sh removeSynonym –configPath “/user/server/config” -collectionName collection2 -locale fr_FR
The syntax consists of the following elements:
synonymTool.bat
. For all other platforms, the script is synonymTool.sh
. The script is in the server-home/bin
directory, where server-home is the root directory for the installed server.
-configPath
-locale
(optional)Related tasks
For an overview of the functional effect of synonyms on full-text searches, and also for information about setting synonyms, see Setting synonyms for full-text searches.