Summary
In this chapter, you learned how MongoDB full-text search works by importing sample data and building a search and locate app. We went over text indexing and implemented some of the available options in the search API by performing search queries in the mongo shell. Also, when you moved the query from the shell to the app's backend, you learned how you can call async functions in Meteor Methods using Fibers and Promises. To use methods such as sort() and limit(), we used the official MongoDB for the Node.js driver, which helped us smoothly move from the mongo shell to Meteor. Finally, we built and assembled all our frontend components with the addition of a third-party mapping library called Leaflet.js.
In Chapter 7, Real-Time Maps ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access