Docs Menu

Atlas Search Tutorials

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 the following tutorials, you must have:

Note

You can run Atlas Search queries by using any driver through the $search aggregation stage. These tutorials include examples for a selection of clients. Refer to the specific tutorial page for details.

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