Tim Frietas gave a presentation on MongoDB Atlas Full-Text Search. He discussed how full-text search works in MongoDB using inverted indices and analyzers. MongoDB Atlas FTS uses Apache Lucene under the hood and integrates a separate process called mongot that handles search queries. Mongot communicates with mongod to index and search document collections and return results. Future roadmap items include expanded data type support, synonyms, improved query syntax, and performance optimizations.
3. #MDBLocal#MDBLocal
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: “Ich verstehe das
nicht…”
Where’s my search result?
9. #MDBLocal#MDBLocal
MongoDB +
• Pre-existing functionality
• Highlights, Fuzzy-matching, Query-time scoring and
more
• Analyzers
• Language support
• Western languages: English, French, etc.
• Eastern Languages: CJK, bigram/unigram support
• Inverted index structure = fast searches
15. #MDBLocal#MDBLocal
FTS Indexing: Steady State
Documents
mongotmongod
changestream
MongoDB Atlas
(per node)
mongot watches
the changestream
continuously and
updates the
search index