Navigation

Edit an Atlas Search Index

Note

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.

Procedure

1
2

Click the Collections button on your desired cluster.

3

Select a namespace from the left-side panel.

Select a database, then select a collection for your Atlas Search index.

4

Click the Search Indexes tab in the right-side panel.

5

Click the Edit button for the index.

6

Edit the index.

Enter the updated index definition in the modal window.

Screenshot of Edit a FTS Index modal window
7

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.