www.mongodb.com
Open in
urlscan Pro
2600:9000:2394:9400:7:7859:3840:93a1
Public Scan
Submitted URL: https://email.mongodb.com/u/click?_t=86ba93b39a0e415ea7cd8e8ed81051cd&_m=768693c28ae94c0ab3fa2a360652d5ea&_e=jSsA2...
Effective URL: https://www.mongodb.com/docs/atlas/atlas-search/tutorials/?utm_source=Iterable&utm_medium=email&utm_campaign=campaign_84...
Submission: On February 26 via api from US — Scanned from DE
Effective URL: https://www.mongodb.com/docs/atlas/atlas-search/tutorials/?utm_source=Iterable&utm_medium=email&utm_campaign=campaign_84...
Submission: On February 26 via api from US — Scanned from DE
Form analysis
1 forms found in the DOMGET https://mongodb.com/docs/search/
<form role="search" method="GET" action="https://mongodb.com/docs/search/" class="css-1c69emu">
<div class="css-1q5aj3">
<div class="css-36i4c2"><input type="text" placeholder="Search all documentation..." class="css-etrcff" value=""></div>
<div class="css-1hc92ka">
<div class="css-aef77t"><button role="button" type="button" class="css-14k7wrz"><span data-testid="selected-value" class="css-6k4l2y">All Documentation</span>
<div class="css-109dpaz"><svg data-testid="icon" width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg" class="css-1yzkxhp">
<path d="M1.06689 0.799988L8.00023 7.73332L14.9336 0.799988" stroke-linecap="round" stroke-linejoin="round" class="css-1tlq8q9"></path>
</svg></div>
</button>
<div class="css-hn9qqo">
<ul data-testid="options" role="listbox" class="css-ac9zo2">
<li role="option" tabindex="0" class="css-11dtrvq">General Information</li>
<li role="option" tabindex="0" class="css-11dtrvq">All Documentation</li>
<li role="option" tabindex="0" class="css-11dtrvq">Realm Documentation</li>
<li role="option" tabindex="0" class="css-11dtrvq">Developer Articles & Topics</li>
<li role="option" tabindex="0" class="css-11dtrvq">Community Forums</li>
<li role="option" tabindex="0" class="css-11dtrvq">Blog</li>
<li role="option" tabindex="0" class="css-11dtrvq">University</li>
</ul>
</div>
</div><input type="hidden" id="q" name="q" value="">
<div class="css-1myrko"><button type="submit" tabindex="0" class=" css-13l1z36" data-track="true"><img alt="search icon" src="https://webimages.mongodb.com/_com_assets/cms/krc3hljsdwdfd2w5d-web-actions-search.svg?auto=format%252Ccompress"
class="css-r9fohf"></button></div>
</div>
</div>
</form>
Text Content
All Documentation * General Information * All Documentation * Realm Documentation * Developer Articles & Topics * Community Forums * Blog * University * Products Platform AtlasBuild on a developer data platform Platform Services DatabaseDeploy a multi-cloud databaseSearchDeliver engaging search experiencesVector SearchDesign intelligent apps with GenAIStream Processing (Preview)Unify data in motion and data at rest Tools CompassWork with MongoDB data in a GUIIntegrationsIntegrations with third-party servicesRelational MigratorMigrate to MongoDB with confidence Self Managed Enterprise AdvancedRun and manage MongoDB yourselfCommunity EditionDevelop locally with MongoDB Build with MongoDB Atlas Get started for free in minutes Sign Up Test Enterprise Advanced Develop with MongoDB on-premises Download Try Community Edition Explore the latest version of MongoDB Download * Resources Documentation Atlas DocumentationGet started using AtlasServer DocumentationLearn to use MongoDBStart With GuidesGet step-by-step guidance for key tasks Tools and ConnectorsLearn how to connect to MongoDBMongoDB DriversUse drivers and libraries for MongoDB AI Resources HubGet help building the next big thing in AI with MongoDBarrow-right Connect Developer CenterExplore a wide range of developer resourcesCommunityJoin a global community of developersCourses and CertificationLearn for free from MongoDBWebinars and EventsFind a webinar or event near you * Solutions Use cases Artificial IntelligenceEdge ComputingInternet of ThingsMobilePaymentsServerless Development Industries Financial ServicesTelecommunicationsHealthcareRetailPublic SectorManufacturing Solutions LibraryOrganized and tailored solutions to kick-start projectsarrow-right Developer Data Platform Accelerate innovation at scale Learn morearrow-right Startups and AI Innovators For world-changing ideas and AI pioneers Learn morearrow-right Customer Case Studies Hear directly from our users See Storiesarrow-right * Company CareersStart your next adventureBlogRead articles and announcementsNewsroomRead press releases and news stories PartnersLearn about our partner ecosystemLeadershipMeet our executive teamCompanyLearn more about who we are Contact Us Reach out to MongoDB Let’s chatarrow-right Investors Visit our investor portal Learn morearrow-right * Pricing SupportSign In Try Free menu-vertical Docs Menu MongoDB Documentation -------------------------------------------------------------------------------- Back to Launch & Manage MongoDB * MongoDB Atlas * Get Started * Create & Connect to Deployments * Configure Security Features * Configure UI Access * Migrate or Import Data * Interact with Data * Access Data Lake * Query Federated Data * Atlas Search * Overview * Get Started * Tutorials * Build Applications * Check for Null Values * Paginate Results * Diacritic-Insensitive * Geo JSON * Compound * Multilingual * Partial Match * Across Collections * Array of Objects * Date Range Filter * Date and Numeric String Queries * Sort Results * Autocomplete * Facets * Synonyms * Create and Manage Indexes * Create and Run Queries * Monitor Atlas Search * Tune Performance * APIs * Limitations * FAQs * Changelog * Atlas Vector Search * Atlas Stream Processing * Deploy Apps and Services * Backup, Restore, and Archive * Resource Tags * Manage Deployments * Monitor Deployments * Related Services * Manage Billing * Programmatic Access * Atlas CLI upcoming * Reference * Get Help * Production Notes * Release Notes * Docs Home → Launch & Manage MongoDB → MongoDB Atlas ATLAS SEARCH TUTORIALS OPEN INTERACTIVE TUTORIAL On this page * Learn with an Interactive Lab * Learn with Tutorials * Learn with Videos You can learn how to set up and query an Atlas Search index with our interactive lab, use-case tutorials or video. LEARN WITH AN INTERACTIVE LAB PREREQUISITES To complete the interactive lab, you must create the following in your Atlas account: * A project called MDB_EDU. * A cluster called myAtlasClusterEDU. * A database user called myAtlasDBUser with the password myatlas-001, and the readWriteAnyDatabase permission. ABOUT THE LAB The following lab teaches you how to create an Atlas Search index with dynamic mapping. Then, you can run a query using the text operator and display the relevance of the matched document with its score. Click the Launch button in the in-browser Integrated Development Environment to start the lab. After completing the tutorial, see Operators to learn about the types of queries you can run. LEARN WITH TUTORIALS PREREQUISITES To complete these tutorials, you must have the following: * An Atlas cluster with MongoDB version 4.2 or higher. * The sample data loaded into your Atlas cluster. * One of the following applications to run queries on your Atlas cluster: * Search Tester * mongosh * Compass * C# * Go * Java * MongoDB Node Driver * Pymongo NOTE You can also complete these tutorials with local Atlas deployments that you create with the Atlas CLI. To learn more, see Create a Local Atlas Deployment. ABOUT THE TUTORIALS * How to Build Applications with Atlas Search and Atlas App Services contains tutorials that describe how to use Atlas App Services and Atlas Search to build a search UI and add reverse search to your application. * The How to Check for Null and Non-Null Values with Atlas Search tutorial describes how to add documents containing null values and create a dynamic index on the sample_mflix.users collection. The queries search the sample_mflix.users collection for null and non-null fields. * The How to Paginate Query Results describes how to use $skip and $limit after the $search stage to paginate query results, and the SEARCH_META Aggregation Variable to return the total documents found. * The How to Define a Custom Analyzer and Run an Atlas Search Diacritic-Insensitive Query tutorial describes how to create an index that uses a custom analyzer and perform a diacritic-insensitive search against the sample_mflix.movies collection. The query searches the sample_mflix.movies collection for movie titles that contain the given term regardless if the term contains diacritics. * The How to Run an Atlas Search Compound Geo JSON Query tutorial describes how to create an index on the sample_airbnb.listingsAndReviews collection and run a query that returns documents with the name, address, and property_type of each property within a specified polygon defined using coordinates. Atlas Search results reflect a preference for properties of type condominium, and each document in the result is assigned a relevance score, returned in order from highest to lowest. * The How to Run Atlas Search Compound Queries with Weighted Fields tutorial describes how to create a dynamic index and run compound queries with custom scoring. The queries search the sample_mflix.movies collection and alter the relevance score of the documents in the result using constant, boost, and function options. * The How to Run Multilingual Atlas Search Queries tutorial describes how to create an index that uses a language analyzer and perform a multilingual search against the sample_mflix.movies collection. The queries search the sample_mflix.movies collection for full movie plots that contain a multilingual term. * The How to Run Partial Match Atlas Search Queries tutorial describes how to create an index on the sample_mflix.movies collection and run case-sensitive partial match queries against the indexed field using autocomplete, phrase, regex, and wildcard operators. * How to Run Atlas Search Queries Across Collections contains tutorials that describe how to run queries across multiple collections by first combining collections using $lookup, and $unionWith, and then running $search queries against the collections. * The How to Run Atlas Search Queries Against Objects in Arrays tutorial demonstrates how to index fields of type string inside an array of objects and run Atlas Search queries against the indexed fields. * The How to Run Atlas Search Queries with a Date Range Filter tutorial describes how to create a dynamic index and run compound queries that use the range operator. The queries search the sample_mflix.movies collection for movies between a specified date range. * The How to Run Atlas Search String Queries Against Date and Numeric Fields tutorial describes how to run queries against numeric and date fields using operators that support only string queries. The queries search for properties that were listed on certain dates and allow them to stay up to a certain number of days. * The How to Sort Your Atlas Search Results tutorial describes how to index date, number, and string in the sample_mflix.movies for sorting and how to use the $search sort option to sort the results in ascending and descending order by the indexed fields. * The How to Use Autocomplete with Atlas Search tutorial describes how to create and query an Atlas Search index configured with an autocomplete field using the autocomplete operator. We will create the Atlas Search index on the sample_mflix.movies collection and index title field text values for autocompletion. We will run Atlas Search queries using the autocomplete operator to search the indexed field for a sequence of characters. * The How to Use Facets with Atlas Search tutorial describes how to create an index with a facet definition for the sample_mflix.movies collection and run queries against the faceted fields for results grouped by values and ranges in the specified, faceted fields, including a count for each of those groups. * The How to Use Synonyms with Atlas Search tutorial describes how to add a collection that configures words as synonyms, create an index that defines synonym mappings on the sample_mflix.movies collection, and run Atlas Search queries against the title field using words that are configured as synonyms. TIP WANT MORE ATLAS SEARCH CONTENT? * Take Unit 9 of the Intro To MongoDB Course on MongoDB University for an overview of Atlas Search and lessons on creating Atlas Search indexes, running $search queries using compound operators, and grouping results using facet. * Visit the MongoDB Developer Center for more real-world Atlas Search examples. * Try the full-text search examples in the Practical MongoDB Aggregations Book. LEARN WITH VIDEOS Follow along with this video to learn how to configure your Atlas Search index and run queries from your application. Duration: 7 Minutes ← Step 2: Run Atlas Search QueriesHow to Build Applications with Atlas Search and Atlas App Services → On this page * Learn with an Interactive Lab * Learn with Tutorials * Learn with Videos Rate this page Ask MongoDB AI © 2023 MongoDB, Inc. About * Careers * Investor Relations * Legal Notices * Privacy Notices * Security Information * Trust Center Support * Contact Us * Customer Portal * Atlas Status * Customer Support Social * GitHub * Stack Overflow * LinkedIn * YouTube * Twitter * Twitch * Facebook © 2023 MongoDB, Inc. By clicking "Accept All Cookies", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. You can enable and disable optional cookies as desired.Read our Privacy Policy Manage Cookies Accept All Cookies PRIVACY PREFERENCE CENTER "Cookies" are small files that enable us to store information while you visit one of our websites. When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies, but essential cookies are always enabled. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. MongoDB Privacy Policy Allow All MANAGE CONSENT PREFERENCES STRICTLY NECESSARY COOKIES Always Active These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information. PERFORMANCE COOKIES Performance Cookies These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance. FUNCTIONAL COOKIES Functional Cookies These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly. TARGETING COOKIES Targeting Cookies These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. SOCIAL MEDIA COOKIES Social Media Cookies These cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools. Back Button COOKIE LIST Search Icon Filter Icon Clear checkbox label label Apply Cancel Consent Leg.Interest checkbox label label checkbox label label checkbox label label Confirm My Choices