Guides / Managing results / Refine results / Sorting results

Deleting a standard or virtual replica requires two steps:

  1. Unlink the replica index from the primary index. This turns the replica index into a regular index.
  2. Delete the replica index.
  1. Go to the Algolia dashboard and select your Algolia application.
  2. On the left sidebar, select Algolia Search Search.
  3. Select the Algolia index you want to configure:

    Select your Algolia application and index

    Make sure to select the primary index.

  4. On the Replicas tab, click Unlink Replica for the replica you want to unlink.

    Unlinking a replica from the dashboard

  5. Save your changes.

Now, you can delete your replica index.

To unlink a replica index from its primary index, remove it from the replicas setting of the primary index, using the setSettings method:

  'replicas' => []

Now, you can delete your replica index.

If want to keep other replicas of the primary index, don’t remove them from the replicas setting. If you set replicas to an empty string or list, all replicas will be unlinked.

Did you find this page helpful?