Skip to main content
This page documents an earlier version of the API client. For the latest version, see Copy or move an index.
Required ACL: editSettings This removes all synonyms currently present in the destination index, and replaces them with the synonyms from the source.

Examples

client.CopySynonyms("indexNameSrc", "indexNameDest");

// Asynchonous
await client.CopySynonymsAsync("indexNameSrc", "indexNameDest");

Parameters

indexNameDest
string
required
Name of the destination index.
indexNameSrc
string
required
Name of the source index to copy.
I