Advanced Search Plays with GraphQL
summary
Shows a hands-on build: a football dataset of ~19,000 player documents is indexed with MongoDB Atlas using Apache Lucene analyzers and a visual index, queried via the $search operator with fuzzy search and a function score that sums a numeric "overall" field with text relevance. A serverless GraphQL API and a custom resolver run aggregate pipelines against that index, wired to a CodeSandbox frontend (Apollo client) with anonymous auth; the demo returns ranked results live and includes the promised TikTok third‑party resolver example.
AI-written summary · about
chapters (14)
- 0:00Introduction and agenda
- 2:11MongoDB and document model
- 7:58Atlas Search overview
- 14:33About the speaker
- 15:37Building search index
- 20:21Apache Lucene and inverted index
- 24:14Querying with $search
- 31:33Search functionality summary
- 36:09GraphQL introduction
- 44:43GraphQL API benefits
- 45:44Building GraphQL API
- 57:22Custom resolver for search
- 1:00:30Authentication and demo
- 1:01:11Q&A and closing
related talks
48mThe Easy Way to Do the Hard Stuff
35mGraphQL in the Enterprise
01h 00mGraphQL - A query language to empower your API consumers
24mMastering Data Complexity with MongoDB's Unified API
32mHow to get started and build something with GraphQL
28mBuild Scalable and Performant Apps with GraphQL
17mThe Power of GraphQL
58mGraphQL -- Flexible APIs for Adaptive Clients
