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

Try it out!


Out-of-the-box, we get pretty powerful search functionalities with MongoDB, and you can explore the search further by trying out options from the preceding examples in the test collection; you can also insert new documents and find out how to build your search queries for different scenarios. For example, if you insert the following document, which is in French, would the search ignore the À character assuming that the default language is English? Also, what do we need to do in order to ignore this character? Check this out using the following:

db.test.insert({name:'André Marcon', age:50, movie:'À vendre'})

Another great feature we get with MongoDB full-text search is that there is no need for manual reindexing of our data in order to make it searchable. In the previous examples, we inserted documents and searched on the content right away, without any extra steps. The content was available immediately, which makes the search real time. Other more powerful solutions, such as Solr...

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 €18.99/month. Cancel anytime