Professional Documents
Culture Documents
Atlas Search
Hands-on Workshop
Oumayma Abida
Solutions Architect
Paolo Picello
Solutions Architect
AUDIENCE
Who
benefits?
This workshop is designed for
developers, with previous knowledge of
setting up MongoDB environments and
interest in search functionality to make
their data even more accessible.
The following hardware and installations are
required to complete this workshop
A local computer with internet connection and
a modern browser and IDE
Pre-
requisites
Agenda
Learning the concepts - What is Atlas
Search?
Quiz
7
Step 1: Click “Reactions “ on the bottom of your screen
8
Once your hand is raised,
one of the team will send
you a 1:1 chat to assist.
9
Everyone please
raise your hand ✋ now so
we can proceed!
10
What is Search?
What is Search ?
Search, or “Full-Text Search” is the ability to search across all of your data and efficiently return a list of
results, ranked based on how well they matched to the search term
Result 1
Result 2
Results based on a score
Result 3
Result 4
Database vs Search Engine
Database vs Search Engine
Database Search Engine
What is user_ID 4810’s account balance ? “What was that movie where Harrison Ford plays
an archaeologist?”
Database returns a specific record of data Search Engine returns a list of results
(exact match on user_ID 4810) based on relevance
What is Atlas
Search?
How developers do it today ?
How do developers do it today?
They need to combine different technologies to make it work
… …
How developers do it today ?
Historically, Search has been a real pain to implement
3 different technologies
No Real-time
No strong consistency
One infrastructure
No data duplication
Search
Cost reduction
CRUD
MQL Same API / Connection String
Application
No ETL Required
Fully Managed
Atlas Search Architecture
MongoDB Atlas Node
API API
MongoDB Atlas
mongod ObjectID + Search metadata Automation
Lucene
Mongo Shell
Search index configuration
Drivers
Search features available with
MongoDB Atlas Search
Analyzers
● Autocomplete
● Highlighting
● Faceting
● Synonyms Each language analyzer has built-in rules based on the language’s usage pattern
● Scoring
Other supported search features
Search features are all about helping customers make their data more discoverable
and relevant for end users
● Autocomplete
● Highlighting
● Faceting
● Synonyms
● Scoring
Other supported search features
Search features are all about helping customers make their data more discoverable
and relevant for end users
● Autocomplete
● Highlighting
● Faceting
● Synonyms
● Scoring
Other supported search features
Search features are all about helping customers make their data more discoverable
and relevant for end users
● Autocomplete
● Highlighting
● Faceting
● Synonyms
● Scoring
Other supported search features
Search features are all about helping customers make their data more discoverable
and relevant for end users
● Autocomplete
● Highlighting
● Faceting
● Synonyms
● Scoring
Other supported search features
Search features are all about helping customers make their data more discoverable
and relevant for end users
● Autocomplete dates
● Highlighting numbers
● Fuzzy matching (typo tolerance)
geoJSON
● Faceting
boolean
● Multiple data types
● Synonyms ObjectID
● Scoring
Other supported search features
Search features are all about helping customers make their data more discoverable
and relevant for end users
● Autocomplete {
"mappingType": "equivalent",
"synonyms": ["car", "vehicle", "automobile"]
● Highlighting }
● Synonyms
● Scoring
Other supported search features
Search features are all about helping customers make their data more discoverable
and relevant for end users
● Autocomplete
● Highlighting
● Faceting
● Synonyms
● Scoring
Realm App The simplest way to stand up your app
Outsource the complexity of back-end creation,
configuration, and operations to MongoDB Realm.
At the end
of the
workshop…
Features we will build together
Account
organization and project.
´Cluster0´
Back in 10
Let’s get started with
our repo on GitHub!
https://bit.ly/34ZBfzi
SEARCH ENGINE
Atlas
Search
Design and deliver rich user experiences
with a full-text search engine built on
industry leading Apache Lucene, and
fine-tune relevance, scoring, filters,
facets and all its capabilities.
Cloud Native Search Engine
Allows you to build fast, relevant, full-text
search capabilities right on top of your data in
the cloud.
Custom engagements Jumpstart: We provide a complete development team to build search applications
Consulting packages
Instructor-led Training DS110: Atlas Search: One day crash course on Atlas Search