Docs Menu
Docs Home
/
MongoDB Atlas
/

Atlas Search Tutorials

On this page

  • Learn with an Interactive Lab
  • Learn with Tutorials
  • Learn with Videos

You can learn how to set up and query an Atlas Search index with our interactive lab, use-case tutorials or video.

To complete the interactive lab, you must create the following in your Atlas account:

  • A project called MDB_EDU.

  • A cluster called myAtlasClusterEDU.

  • A database user called myAtlasDBUser with the password myatlas-001, and the readWriteAnyDatabase permission.

The following lab teaches you how to create an Atlas Search index with dynamic mapping. Then, you can run a query using the text operator and display the relevance of the matched document with its score.

Click the Launch button in the in-browser Integrated Development Environment to start the lab.

After completing the tutorial, see Operators to learn about the types of queries you can run.

To complete these tutorials, you must have the following:

Note

You can run Atlas Search queries by using any MongoDB Driver through the $search aggregation stage. These tutorials includes examples for only the drivers in the preceding list.

You can also complete these tutorials with local Atlas deployments that you create with the Atlas CLI. To learn more, see Create a Local Atlas Deployment.

Tip

Want more Atlas Search content?

Follow along with this video to learn how to configure your Atlas Search index and run queries from your application.

Duration: 7 Minutes

Back

2: Run Search Queries