Docs Menu
Docs Home
/
MongoDB Atlas
/

Atlas Search Playground

On this page

  • Supported Stages
  • Limitations
  • Considerations
  • Try the Atlas Search Playground
  • Try the Examples in the Atlas Search Playground

Quickly try Atlas Search with the Atlas Search Playground. You can try different Atlas Search features by configuring search indexes and running queries without needing an Atlas account, cluster, or collection. You can also share a link to a snapshot of your Atlas Search Playground with others.

The Atlas Search Playground supports a subset of aggregation pipeline stages, including:

  • The Atlas Search Playground doesn't support Atlas Vector Search.

  • The Atlas Search Playground only supports a single collection. You can't use $lookup or $unionWith to search multiple collections.

  • The Atlas Search Playground environment does not persist. To save an environment, use the Share button to generate a snapshot URL that lasts 30 days. The snapshot functionality is only available for the Code Sandbox tool.

  • The Atlas Search Playground has the following data limitations:

    • You can't add more than 500 documents to the Atlas Search Playground.

    • You can't import files larger than 100 KB.

    • Your total data in the Atlas Search Playground, including the collection, search index, synonyms, and queries, can't exceed 300 KB.

  • The Atlas Search Playground is not connected to your Atlas clusters. However, you can recreate your Atlas environment in the Atlas Search Playground by:

    1. Exporting documents from Atlas and importing into the Atlas Search Playground.

    2. Copying the Atlas Search index from your Atlas JSON Editor and pasting into the Index panel in the Atlas Search Playground.

MongoDB logs your workload data for monitoring the system health and to help troubleshoot any issues in the Atlas Search Playground.

1

Navigate to https://search-playground.mongodb.com/.

2

The Atlas Search Playground provides a JSON-only and visual way to explore Atlas Search features.

Code Sandbox

Provides a way to add your own data, define an Atlas Search index in JSON format, and construct and run $search and $searchMeta queries in JSON format. This playground also includes several templates to get you started with Atlas Search.

You can also save and share your playground with others. This allows anyone to interact with your playground snapshot for up to 30 days. Any changes made after generating the playground URL won't affect the original snapshot.

Search Demo Builder

Provides a visual way to explore the following Atlas Search features and query the data.

  • Fields to index

  • Search-as-you-type (autocomplete)

  • Filters and facets

The tool automatically generates your index definition and query syntax that you can copy and use in your Atlas cluster.

Sample data is pre-loaded by default in both tools. Alternatively, you can upload your own data.

Note

The Atlas Search Playground performance might differ from production performance.

You can try the following Atlas Search features in a preconfigured environment in the Atlas Search Playground.

Atlas Search Feature
Description
Examples

compound Operator

Combines two or more operators into a single query.

exists Operator

Tests if a path to a specified indexed field name exists in a document.

highlight Option

Adds fields to the result set that display search terms as they appear in the returned documents, along with any adjacent text content.

Back

Atlas Search Compatibility