Come and hear more about our new full-text search operator for MongoDB Atlas. This is a significant enhancement to MongoDB search features and is the easiest and most powerful full-text search solution for databases on MongoDB Atlas.
This talk is important for anyone who has implemented search or is considering a search feature in their MongoDB application.
You will see a demo of $searchBeta, learn about how it works, discover specific features to help you deliver relevant search results, and learn how you can start using full-text search in your application today.
6. #MDBLocal
Relevance is Complicated… Developer: “This result doesn’t
match the most terms.”
Marketing: “Why isn’t the promo on
top?”
Product: “If I type in an exact
product name, just skip the search.”
UX: “Users need categories
instead.”
CEO: “Change the top result right
NOW!”
Customer: “Je ne trouve pas ce que
je cherche …”
12. #MDBLocal
So, build the best search
for your application
Atlas Search
Full Text Search Indexes
$searchBeta
13. #MDBLocal
How do I use it?
Create a cluster
on MongoDB
Atlas 4.2
(M30+)
Create a
database and
collection
Create a full
text index on
that collection
in Atlas
Query via
$searchBeta
aggregation
pipeline
20. #MDBLocal
MongoDB +
• Pre-existing functionality
• Highlights, Fuzzy-matching, Query-time scoring and
more
• Analyzers
• Language support
• Western languages: English, French, etc.
• Eastern Languages: CJK, Hindi, Thai, etc.
• Inverted index structure = fast searches
21. #MDBLocal
Inverted Index
{ _id: 1,
S: “The quick brown fox jumped over the lazy dog” }
{ _id: 2,
S: “Quick brown foxes leap over lazy dogs in summer” }
TERM DOC
The 1
Quick 2
brown 1, 2
fox 1
foxes 2
jumped 1
leap 2
TERM DOC
the 1
quick 1, 2
brown 1, 2
fox 1, 2
in 2
jump 1, 2
dog 1, 2
STEMMING,SYNONYMS
27. #MDBLocal
FTS Indexing: Steady State
Documents
mongotmongod
changestream
MongoDB Atlas
(per node)
mongot watches
the changestream
continuously and
updates the
search index
36. #MDBlocal
Every session you rate enters you into a
drawing for a gift card!
https://www.surveymonkey.com/r/C8TFLRC
MongoDB Atlas Full-Text
Search Deep Dive