Docs Menu
Docs Home
/
MongoDB Manual
/ /

Atlas Search Index Methods

Note

For details on a specific method, including syntax and examples, click on the link to the method's reference page.

New in version 7.0: (Also available starting in 6.0.7)

Atlas Search indexes let you query data in Atlas Search. Atlas Search indexes enable performant text search queries by mapping search terms to the documents that contain those terms.

Use the following methods to manage Atlas Search indexes.

Important

The following methods can only be run on deployments hosted on MongoDB Atlas, and require an Atlas cluster tier of at least M10.

Name
Description
db.collection.createSearchIndex()

Creates an Atlas Search index on a specified collection.

Deletes an existing Atlas Search index.

Returns information about existing Atlas Search indexes on a specified collection.

Updates an existing Atlas Search index.

Back

Native Methods