Get started with MongoDB Search by creating a search index, running a query, and processing the results. Select your deployment type, interface, and language to view the appropriate procedure.
Set Up Your Cluster
Define and Create a MongoDB Search Index
In this section, you create a MongoDB Search index on the sample movies collection.
Build and Run MongoDB Search Queries
In this section, you run queries against the indexed collection.
Continue Learning
Run Autocomplete and Partial Match Queries
You can use MongoDB Search to run autocomplete and partial queries that return results for partial words. This helps you retrieve results with increasing accuracy as more characters are entered in your application's search field. You must index the fields as the MongoDB Search autocomplete type to use the autocomplete operator.
To get started, see How to Run Autocomplete and Partial Match MongoDB Search Queries.
Group Search Results with Facets
You can use MongoDB Search to run facet queries that group search results by string, date, or numeric values. You must create an index with a facet definition to use the facet (MongoDB Search Operator) collector.
To get started, see How to Use Facets with MongoDB Search.
Use the MongoDB Search Playground
Use the MongoDB Search Playground. to try different MongoDB Search features by configuring search indexes and running queries without an Atlas account, cluster, or collection.
To learn more, see MongoDB Search Playground.
Learn with a Course
To learn more about MongoDB Search, you can take Unit 1 of the Atlas Search Course on MongoDB University. The 2.25 hour unit includes an overview of MongoDB Search and lessons on how to create MongoDB Search indexes, use $search with different operators, and generate search facets.
Learn by Watching
You can also watch the following videos to learn more about MongoDB Search: