Actions27
- Advanced Actions
- Api Keys Actions
- Clusters Actions
- Dictionaries Actions
- Indices Actions
Indices → Copy or move an index
AI-generatedOverview
This node operation allows users to copy or move (rename) an index within the same Algolia application. It is useful for managing indices by duplicating or renaming them without manually exporting and importing data. For example, you can copy an index to create a backup or move an index to rename it for organizational purposes.
Use Case Examples
- Copy an index named 'products' to a new index named 'products_backup'.
- Move an index named 'old_index' to 'new_index' to rename it.
Properties
| Name | Meaning |
|---|---|
| Destination | The name of the destination index to which the source index will be copied or moved. This is case-sensitive and required. |
| Index Name | The name of the source index on which the copy or move operation will be performed. This is required and loaded dynamically from existing indices. |
| Operation | The type of operation to perform on the index, either 'copy' or 'move'. |
| Additional Properties | Optional additional properties for the operation. For copying, a 'scope' can be specified to copy only selected scopes (e.g., records, settings, synonyms, rules). If omitted, everything is copied. |
Output
JSON
taskID_number- Unique task identifier for the copy or move operation.
Dependencies
- An API key credential for Algolia with permissions to manage indices.
Troubleshooting
- Ensure the destination index name is valid and does not conflict with existing indices unless overwriting is intended.
- Verify that the API key used has sufficient permissions to perform copy or move operations on indices.
- If copying with a scope, ensure the scope is correctly formatted as a JSON array.
- Check network connectivity and Algolia service status if requests fail.
Links
- Algolia API - Index Operation - Official Algolia API documentation for copying or moving an index.