Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Build Applications with Meteor

You're reading from   Build Applications with Meteor Isomorphic JavaScript web development

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787129887
Length 388 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dobrin Ganev Dobrin Ganev
Author Profile Icon Dobrin Ganev
Dobrin Ganev
Arrow right icon
View More author details
Toc

Building a Real-Time Search Application

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime