ποΈ π Full-text Search
So far, we have an application, but it's not helpful as the search capabilities are quite limited.
ποΈ π Why Search?
Search is a powerful tool that will create a better experience for your users. It will help them find the content they are looking for faster and more efficiently. It will also help them discover content they didn't know existed.
ποΈ π Why MongoDB Search?
MongoDB Search is the built-in search solution for MongoDB. It is based on Apache Lucene and supports the Apache Lucene Query Parser Syntax. It supports text search, geospatial search, and faceted search.
ποΈ π How MongoDB Search Works
MongoDB Search uses inverted indexes to support text search queries. An inverted index is a data structure that maps each unique term in a collection to the documents that contain that term. The index is sorted by term, with each term referencing the documents that contain it.