Skip to main content
You can copy (duplicate) or move (rename) indices, including their associated , settings, synonyms, and rules, using the Algolia dashboard or one of the API clients.
Copying or moving an is resource-intensive and rate-limited.

Move or rename indices

You can move or rename an index within the same Algolia in the Algolia dashboard or with an API client.
Moving or renaming an index leaves its existing analytics associated with the original index name. Algolia starts a new set of analytics under the new name. For more information, see Indices and analytics.

Rename indices in the Algolia dashboard

In the Algolia dashboard, you can’t rename replica indices. You also can’t rename primary indices that have replicas.
  1. Go to the Algolia dashboard and select your Algolia application.
  2. On the left sidebar, select Search.
  3. Select your Algolia index.
  4. Select Manage index > Rename.
    If the destination index already exists, this operation overwrites it.
  5. Enter the current and new index names and click Rename.

Rename indices with an API client

To run the code examples on this page, install the latest API client. To rename or move an index with the API, you can use: You can’t move an index between different Algolia applications but you can create a copy and delete the original index. For more information, see Copy indices between apps.
If the destination index already exists, this operation overwrites it. To avoid overwriting existing indices, check if an index exists with indexExists.
If the source index doesn’t exist, Algolia ignores the move operation.

Rename indices with replicas

Renaming replica indices requires several steps. You can’t move a source index with replicas. You can move an index to a destination index with replicas. Algolia replaces the destination index’s data with the source index’s data, then copies it to the destination’s replicas.

Indices used as a Recommend data source

Don’t rename an index used as a data source for Recommend models. Renaming it breaks the relationship between recommended records and their source. Instead:
  1. Copy the index.
  2. To keep the events you already collected, train a new model on the copied index using the original index as an additional events source.
  3. After training, switch your apps and services to use the new index.
  4. Delete the old index and the old model (from the Algolia dashboard).

Copy indices

You can copy an index in the Algolia dashboard or with an API client. Copying an index works as follows:

Copy indices in the Algolia dashboard

  1. Go to the Algolia dashboard and select your Algolia application.
  2. On the left sidebar, select Search.
  3. Select the Algolia index that you want to copy.
  4. Select Manage index > Duplicate.
  5. Select Create a new index or Overwrite an existing index and enter the destination index name.
  6. If you’re overwriting an existing index, enter DUPLICATE to confirm.
  7. Click Duplicate.

Copy indices with an API client

To copy indices, you can use: To copy only settings, synonyms, or rules, specify them in the scope parameter. Omit scope to copy the entire index. When copying an index with the API, Algolia doesn’t copy the enableReRanking, mode, or replicas settings.

Copy entire indices

To copy an index including records, settings, synonyms, and rules:
If the destination index already exists, this operation overwrites it. To avoid overwriting an index, check whether it exists with indexExists.

Copy index settings, synonyms, or rules

To copy parts of an index, use the scope parameter of the operationIndex method. For example, to copy only the synonyms and settings between indices, but not records or rules:
If you specify scope, Algolia replaces the selected settings, synonyms, or rules in the destination index. Records, settings, synonyms, and rules outside the selected scopes remain unchanged. For example, if you use the settings scope, Algolia copies only the settings to the destination index and leaves that index’s records, synonyms, and rules unchanged.

Copy indices with replicas

Copying a source index that has replicas copies the index’s data, but not its replicas. The destination index won’t have replicas. You can’t copy to a destination index with replicas.

Copy indices between different applications

To copy an index between different Algolia applications, use the Algolia CLI.
Last modified on October 16, 2026