Edit an Atlas Search Index¶
You can also create and manage Atlas Search indexes with the Atlas API.
You can change the index definition of an existing Atlas Search index. You cannot rename an index; if you need to change an index's name, you must create a new index and delete the old one.
You must have the:
Project Data Access Read Onlyor higher role to view Atlas Search analyzers and indexes using the Atlas UI or API.
Project Data Access Adminor higher role to create and manage Atlas Search analyzers and indexes using the Atlas UI or API.
Navigate to the Atlas Cluster Overview page.¶
Click the Collections button on your desired cluster.¶
Click the Search tab.¶
Click the Edit button for the index.¶
Click the Apply Index Changes button.¶
A few moments after the modal window closes, the index's status changes from Active to Building. In this state, you can continue to use the old index because Atlas Search does not delete the old index until the updated index is ready for use. Once the status returns to Active, the modified index is ready to use.