Api clients
/
JavaScript
/
V3
/
Methods
Jul. 12, 2022
Copy Synonyms | JavaScript API Client V3 (Deprecated)
This version of the JavaScript API client has been deprecated in favor of the latest version of the JavaScript API client.
Required API Key: any key with the
synonyms
ACL
Method signature
Not implemented yet.
About this method
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
Copy synonyms
Copy
Copy
1
$client->copySynonyms('indexNameSrc', 'indexNameDest');
Parameters
indexNameSrc
|
type: string
Required
Name of the source index to copy. |
indexNameDest
|
type: string
Required
Name of the destination index. |
Response
No response.
Did you find this page helpful?