Introduction to Atlas Search

Learn how to use Atlas Search to build search functionality for your application. You'll learn how to define a search index, create a search query, and view search metadata.

Introduction to Atlas Search

Unit Overview

In this unit, you'll learn how to use Atlas Search to build search functionality for your application. You'll start by learning how search indexes and queries work. You'll define Atlas Search indexes that map all fields or just a few key fields that your users search. You'll create Atlas Search queries that contain multiple operators. Finally, you'll learn how to use facets and $searchMeta to view metadata on your search.

Prerequisites

Lessons in This Unit

  • Lesson 1 – Atlas Search Fundamentals
  • Lesson 2 – Dynamic vs. Static Mappings
  • Lesson 3 – Data Types
  • Lesson 4 – $search operators: text and equals
  • Lesson 5 – $search operators: near and range
  • Lesson 6 – Creating Search Facets
  • 01.
    Lesson 1: Atlas Search Fundamentals
    • Learn
    • Practice
  • 02.
    Lesson 2: Dynamic vs. Static Mappings
    • Learn
    • Practice
  • 03.
    Lesson 3: Data Types
    • Learn
    • Practice
  • 04.
    Lesson 4: $search operators: text and equals
    • Learn
    • Practice
  • 05.
    Lesson 5: $search operators: near and range
    • Learn
    • Practice
  • 06.
    Lesson 6: Creating Search Facets
    • Learn
    • Practice
  • 07.
    Conclusion
    • Learn
Parker Faucher | University Curriculum Engineer

Parker Faucher | University Curriculum Engineer

Parker is a Curriculum Engineer on the Education team at MongoDB. Prior to joining MongoDB, he helped maintain a world class developer bootcamp that was offered in multiple universities. He is a self taught developer who loves being able to give back to the community that has helped him so much.

Elle Shwer | Lead Product Manager, Atlas Search

Elle Shwer | Lead Product Manager, Atlas Search

Elle Shwer is a Lead Product Manager for MongoDB's Atlas Search, covering the roadmap, strategy and vision for the product. She has been at MongoDB for 5+ years and has held positions in product design, documentation, Atlas and more. She has a Bachelors of Science in Information from the University of Michigan (Go Blue!) and will soon have her MBA from NYU Stern.

Vick Mena | Director, Curriculum

Vick Mena | Director, Curriculum

My name is Vick and I've been in the wild for over 25 years. I grew up at IBM working on the BIOS for the IBM eServer line in Austin, TX before moving to Wall St. I've worked on all phases of software development from low-level to middleware to UI but feel most comfortable in the middle. I also drank the devops kool-aid having moved a product line to AWS while at Dow Jones & Co with the help of an amazing team. I then pivoted into the secure space and worked on software/hardware reverse engineering. I always thought I'd eventually teach and this role lets me leverage all of my experience to lead this motley crew of passionate educators.

Emily Pope | Senior Curriculum Designer

Emily Pope | Senior Curriculum Designer

Emily is a Senior Curriculum Designer at MongoDB. Prior to MongoDB, Emily worked closely with professors at MIT and Columbia to design bootcamps in full stack development and data science at Emeritus. She also worked as an instructional designer on database and computer science learning experiences at Cengage. Emily loves learning about the everchanging tech space and is passionate about making these skills accessible to a global audience.

Welcome! In this unit, we’ll take a look at Atlas Search. My name is Elle Shwer. I'm a Lead Product Manager for Atlas Search at MongoDB, and I will guide you through this unit.

Adding sophisticated search functionality into applications has historically been a challenge for developers.

Custom solutions can be hard to architect and are computationally demanding.

Third-party solutions are often used to integrate the functionality instead of building your own.

Atlas Search solves this problem because it’s an integrated, fully managed search engine that automatically syncs to your database.

Atlas Search uses the industry-standard Apache Lucene search engine library

In this unit, we'll leverage the power of Atlas Search in a movie catalog application.

To start, you’ll learn how Atlas Search indexes and queries work.

Next, you’ll learn the difference between static and dynamic mappings.

Then, you’ll learn about the different data types available for search indexes.

After that, we’ll take a look at the operators available to us when using the search aggregation pipeline stage.

Finally, we’ll explore how facets work when using Atlas Search.

After completing this unit, you will be able to create Atlas search indexes that will allow you to perform search queries on your data using the search stage in the aggregation framework.

Alright, let’s get started!