Docs Menu
Docs Home
/
MongoDB Atlas
/ /

Update Your Existing Index

On this page

  • Considerations
  • Procedure

Some Atlas Search features require that you update the index. To update your index, you can take one of the following actions:

  • Edit the index definition. To learn more about editing your index definition, see Edit an Atlas Search Index.

  • Opt-in for an index update from the Atlas UI. To opt-in for an index update, follow the steps in the Procedure on this page.

The process for updating the Atlas Search index requires time and resources. For the index update to complete successfully, allocate free disk space equal to 125% of your current index's disk space.

To update the index:

1
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. If the Clusters page is not already displayed, click Database in the sidebar.

    The Clusters page displays.

2

You can go the Atlas Search page from the sidebar, the Data Explorer, or your cluster details page.

  1. In the sidebar, click Atlas Search under the Services heading.

  2. From the Select data source dropdown, select your cluster and click Go to Atlas Search.

    The Atlas Search page displays.

  1. Click the Browse Collections button for your cluster.

  2. Expand the database and select the collection.

  3. Click the Search Indexes tab for the collection.

    The Atlas Search page displays.

  1. Click the cluster's name.

  2. Click the Atlas Search tab.

    The Atlas Search page displays.

3

Tip

If an index requires an update to enable a new feature, the Atlas UI shows a warning icon next to the index name.

4
  1. In the Index Overview page, click Update in the banner.

  2. Click Update Index in the confirmation window.

    While your index is updating, you can continue to query your collection using your previous index.

Back

Delete