In this chapter, we will explore the full-text search functionality of MongoDB by developing a simple search application with the main stack that we've been using for the past few chapters: Meteor, React, and Redux, adding a few new libraries along the way. We'll start by importing sample data to the MongoDB collection, then we will create an index on some of the fields and perform search queries directly from the sample data which can be found in the official MongoDB documentation at https://docs.mongodb.com/getting-started/shell/import-data/.
The direct link to the data is https://raw.githubusercontent.com/mongodb/docs-assets/primer-dataset/primer-dataset.json. The dataset contains over 25,000 documents of restaurants in the New York City area, which is a perfect dataset for what we will build. If you click on the preceding link, you would...