Vector Search Fundamentals

Learn how to leverage MongoDB Atlas Vector Search to build intelligent, AI-powered search experiences for applications. Explore indexing, embeddings, and retrieval strategies.

Upon completion of the Vector Search Fundamentals skill check, you will earn a Credly badge that you are able to share with your network.


  Learning Objectives

Understand Semantic Search

Know how and when to use semantic search to capture the meaning and context behind a query and to improve the relevance of results.

Store Embeddings for Your Data

Capture the meaning and context behind your data by generating embeddings and storing them in MongoDB.





Perform a Vector Search

Implement vector search in your application to retrieve semantically similar data and improve the relevance of the results.

Note: The AI models used this learning content, including LLMs and embedding models, are constantly evolving and may have been updated since its creation.

Parker Faucher| Senior Software Engineer

Parker Faucher| Senior Software Engineer

Parker is a Senior Software 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.

Emily Pope | Senior Curriculum Designer

Emily Pope | Senior Curriculum Designer

Emily Pope is a Senior Curriculum Designer at MongoDB. She loves learning and loves making it easy for others to learn how and when to use deeply technical products. Recently, she's been creating AI and vector search content for MongoDB University. Before that, she's created learning experiences on databases, computer science, full stack development, and even clinical trial design and analysis. Emily holds an Ed.M. in International Education Policy from Harvard Graduate School of Education and began her career as an English teacher in Turkiye with the Fulbright program.

Joel Lord | Lead, Curriculum Eng/Technologist

Joel Lord | Lead, Curriculum Eng/Technologist

Joel Lord is a curriculum engineer at MongoDB who is committed to empowering developers through education and active community involvement. With more than twenty years of experience in software development, developer advocacy, and technical education, he combines extensive expertise with a dedication to making complex topics more understandable.

Holding a Bachelor of Science in computational astrophysics from Université Laval, Joel started his career in web development before he focused on assisting others in their learning journeys. At MongoDB, he develops educational materials designed to equip developers with the skills to build improved applications, drawing on his wide-ranging experience as a speaker at global conferences.

When he is not working, Joel enjoys stargazing in remote camping areas, experimenting with inventive brewing methods in his garage, and offering emotional support to his two cats, who often appear as guests during his Zoom meetings.

Harshad Dhavale | Staff Technical Services Engineer

Harshad Dhavale | Staff Technical Services Engineer

Harshad Dhavale is a Staff Technical Services Engineer, who has been with MongoDB for over six years. He is a subject matter expert in Atlas Search and Atlas Vector Search, and has made significant contributions in these domains over his tenure. In addition to enablement, he has played a key role in numerous pivotal Atlas Search and Atlas Vector Search initiatives and projects, which have been instrumental in defining the product's trajectory. He is a trusted specialist on all things Search, and enjoys diving deep into complex Search topics.

Henry Weller | Product Manager

Henry Weller | Product Manager

Henry Weller is the dedicated Product Manager for Atlas Vector Search, focusing on the query features and scalability of the service, as well as developing best practices for users. He helped launch Atlas Vector Search from Public Preview into GA in 2023, and continues to lead delivery of core features for the service. Henry joined MongoDB in 2022, and was previously a data engineer and backend robotics software engineer.

John McCambridge | Curriculum Engineer

John McCambridge | Curriculum Engineer

John is a Curriculum Engineer on the University team at MongoDB. Before his work as a Curriculum Engineer, he was an instructor and teaching assistant for coding boot camps at UT (Austin), and UCLA. Additionally, he worked as a QA engineer for a startup called Coder and spent five years at Apple Inc. John is a passionate software engineer and educator who enjoys taking complex topics and making them digestible for the community.

Sarah Evans | Senior Curriculum Engineer

Sarah Evans | Senior Curriculum Engineer

Sarah is a Senior Curriculum Engineer on the Curriculum team at MongoDB. Prior to MongoDB, she taught and developed curricula for developer bootcamps. Sarah has a MAT degree from Columbia University Teachers College and studied Software Engineering at Flatiron School in Chicago, IL.

Katie Redmiles | Instructional Designer

Katie Redmiles | Instructional Designer

Katie is a Instructional Designer at MongoDB. Before joining the Curriculum team, Katie worked on the University Enablement team developing Learning Bytes and instructional materials for the MongoDB for Academia program. Katie also worked within the Digital Learning Division at the Foreign Service Institute where she honed her skills at developing online learning for a global audience. Katie is passionate about making education accessible and engaging for everyone.

Welcome. For this skill, we'll learn how to use Atlas vector search to add semantic search to an application.

My name is Katie. I'm a curriculum designer at MongoDB, and Sarah and I will be your guides through this skill badge.

Have you ever tried looking for a movie but can't think of the title? Perhaps you'll remember some vague details about the movie. For instance, the movie that I'm thinking of has aliens that come to Earth in search of resources.

This will often lead you to searching the web for phrases like alien invasion movies using search engines with a keyword match. Sometimes you'll get lucky and find the movie you're looking for, but you may have to search through hundreds of alien movies to find the right one. What if there is a better way of doing this? Like describing to the search engine the parts of the movie you remember, so it returns results related to that description. With Atlas Vector Search, we can do this. We can leverage AI to create a search engine that extracts the meaning of a query and returns related results.

Because the search focuses on the meaning of the words rather than matching keywords, we call this a semantic search.

We'll use Atlas Vector Search to create a semantic search feature for a movie catalog application.

We'll use movie data from the movies collection in the sample mflix database where each document has information about a movie.

For our purposes, we'll focus on the title and plot field. We'll generate embeddings for the plot field so we can later perform a semantic search.

This will allow users to search based on the semantic meaning in the movie descriptions.

Don't worry if these terms are new to you. We'll cover everything you need to know as you build your skills.

Before we start building our app, we'll make sure you understand how vector search works behind the scenes.

This knowledge will enable you to assess how your app is performing and to understand the levers you can pull to make adjustments.

But first, we'll learn about vectors and dimensions.

After that, we'll generate vectors for our data using an embedding model. Once that's complete, we'll explore how vectors are indexed using hierarchical, navigable small world graphs and searched using a nearest neighbor algorithm.

Then, we'll create an Atlas search index using the vector field type.

Armed with our new index, we'll learn how to query data using the dollar sign vector search stage in the aggregation framework.

After completing this, you'll be able to implement a semantic search feature in your application using Atlas Vector Search.

You'll also have plenty of opportunities to practice what you learned by completing labs that present real world scenarios.

This way, you'll build your knowledge and get comfortable with the software at the same time.

When you're finished, you'll be ready to put your new skills to the test.

To earn your badge, simply complete all the related content and then take the skill check at the end. After passing it, you'll receive an official Credly badge via the email you provided.

Be sure to share your badge on LinkedIn to show off your new skills.

By completing the skill badge, you'll know how to leverage Vector Search in your application. Let's get started.