Chapter 9. Text search

This chapter covers

  • Why text search is important
  • Text search basics
  • Defining MongoDB text search indexes
  • Using text search with MongoDB find()
  • Using MongoDB text search with aggregation
  • Using text search with different languages

In chapters 5 and 6, which explored constructing queries and using aggregation, you learned how to perform database queries using a fairly sophisticated query language. For many applications, searches using these types of queries may be sufficient. But when you’re dealing with large amounts of unstructured data, or trying to support users finding the product they want to buy from a huge catalog of possible products, this type of searching may not be enough. Website visitors who have become ...

Get MongoDB in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.