Update Your Existing Index
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.
Considerations
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.
Features that Require Index Update
You must update your index to enable the following features:
Sorting by fields of type
date
andnumber
for indexes created before July 2023Searching and sorting by fields of type
null
andUUID
for indexes created before March 2024
Procedure
To update the index:
In Atlas, go to the Clusters page for your project.
If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
If it is not already displayed, select your desired project from the Projects menu in the navigation bar.
If the Clusters page is not already displayed, click Database in the sidebar.
Go to the Atlas Search page for your cluster.
You can go the Atlas Search page from the sidebar, the Data Explorer, or your cluster details page.
In the sidebar, click Atlas Search under the Services heading.
From the Select data source dropdown, select your cluster and click Go to Atlas Search.
Click the Browse Collections button for your cluster.
Expand the database and select the collection.
Click the Search Indexes tab for the collection.
Click the cluster's name.
Click the Atlas Search tab.