📄️ Full Text Search
So far, we have an application, but it's not helpful as the search capabilities are quite limited.
📄️ Create Atlas Search indexes
MongoDB's Atlas Search is a full-text search solution built on top of Apache Lucene. Atlas Search allows fine-grained text indexing and querying of data persisted in your Atlas database.
📄️ Construct search queries
You can construct Atlas Search queries with the $search aggregation pipeline stage.
📄️ Add full-text search to your application
You now know everything you need to add full-text search capabilities to your application.
📄️ 🦸 Turbocharge your search with fuzzy matching
Next, you'll implement fuzzy matching also known as approximate string matching. Fuzzy matching helps identify two texts that are approximately similar but not the same.
📄️ 🦸 Better results with scoring
In information retrieval, relevance scoring is a technique used to evaluate how closely a document matches a query. Atlas Search is built on Apache Lucene. Lucene utilizes a combination of the Vector Space Model (VSM) and the Boolean model to determine the relevance score of each search result. The VSM assesses the similarity between the query and the document, while the Boolean model determines if the document contains all the query terms. Based on these factors, Lucene assigns a score to each search result, indicating its relevance to the query.