Api clients
/
Ruby
/
V1
/
Methods
Mar. 31, 2022
Copy Synonyms | Ruby API Client V1 (Deprecated)
This version of the Ruby API client has been deprecated in favor of the latest version of the Ruby API client.
Required API Key: any key with the
synonyms
ACL
Method signature
client.copy_synonyms(String indexNameSrc, String indexNameDest)
About this method# A
Copy the synonyms of an index to another index on the same app.
Note that this removes all synonyms currently present in the destination index, and replaces them with the synonyms from the source.
Examples# A
Copy synonyms#
Copy
1
$client->copySynonyms('indexNameSrc', 'indexNameDest');
Parameters# A
Response# A
No response.
Did you find this page helpful?