Updating synonyms for an index

Configure synonyms for a new index or reconfigure synonyms for all indexes as needed.

To update the synonyms for an index:

  1. Edit your synonym input file to add, change,or remove synonyms.
  2. Start the server. Start the server if the server is not already started.
  3. Use the following command-line syntax to run the synonym tool:

    synonymTool importSynonym –configPath path -synonymFile file-name –replace true -collectionName index-name

    For more information about this tool or the meaning of the variables that are used in the command syntax, see Synonym tool usage.

Related reference
For information about the synonym input file format, see Synonym input file: Format reference.