Navigation

Searching Your Collection

You can search your indexed collection through the Atlas UI. The Search Tester feature in the Search tab allows you to:

  • Enter the term to search in the collection.
  • View your Atlas Search query syntax, which you can then run in your mongo shell or export to a programming language.

The Search Tester returns 10 documents that are assigned a high score based on relevance.

To use the Search Tester in the Atlas UI, you must have the following:

  • An Atlas cluster running MongoDB version 4.2 or higher.
  • Atlas Search index on your collection in the Atlas cluster.
1

In the Atlas UI, navigate to the Clusters page for your project.

2
3
4
5
6
  1. Enter the term to search in the Search query field.
  2. Click Search to search the collection.
1

In the Atlas UI, navigate to the Clusters page for your project.

2
3
4
5
6
  1. Enter the term to search in the Search query field.
  2. Click Search to search the collection.
7

You can copy your query syntax in JSON format or export your query syntax to a programming language. See Copy or Export Query Syntax for more information.

8
1

In the Atlas UI, navigate to the Clusters page for your project.

2
3
4
5
6
  1. Enter the term to search in the Search query field.
  2. Click Search to search the collection.
7
8

You can copy the query syntax in JSON format or export your query syntax to a programming language.

9
Give Feedback

On this page