Explain it simpler
There are two main ways to search. Keyword search looks for the exact words you typed, which is perfect for names and codes but misses different wording. Vector search turns text into lists of numbers that capture meaning, so 'car' and 'automobile' end up close together, but it can miss exact codes. Hybrid search runs both at once and blends the results. Semantic ranking is a second pass: it takes the top results and re-orders them using a language model that reads them more carefully, and it can highlight the best sentence or even pull out a direct answer. Together they help a chatbot find the right facts.
Ravi supports the internal help assistant at Meridian Software, a RAG chatbot that answers employee questions from 20,000 knowledge base articles. Two complaints land on the same afternoon. A developer pasted the exact error code 0x80070005 and got articles about printers. A salesperson asked 'how do I get reimbursed for a client dinner' and got nothing, because the policy article says 'expense claims for entertainment'. The first query needed exact matching; the second needed understanding of meaning. Ravi's retrieval uses only one approach today. Is there a way to get both behaviors from one query, and then put the very best passage first?
Classic full-text search in Azure AI Search ranks results with BM25, a formula based on how often query terms appear in a document and how rare those terms are across the index. BM25 is fast and excellent for exact terms such as product names, error codes and acronyms, but it does not understand meaning: a query about 'reimbursement' will not match a document that only says 'expense claim'. Azure AI Search adds three capabilities that address this, and retrieval-augmented generation (RAG) solutions usually combine all three.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 8 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.