A RAG application retrieves product documentation. Users type natural-language questions that contain a part number (SKU), such as 'How do I replace the filter on the XR-4892-B?'. Pure vector similarity search often returns documents for the wrong product, because SKUs are not semantically meaningful words. Which Mosaic AI Vector Search feature BEST addresses this limitation?
Show answer & explanation
Correct answer: D
WHY D is correct: Hybrid search runs a keyword (BM25) search and a vector similarity search and merges the two result lists. The keyword side matches the exact SKU string in the question while the vector side matches its meaning, which is why Databricks recommends hybrid search for data with unique identifiers such as SKUs. WHY NOT A: A larger embedding dimension gives more room to represent meaning, but a SKU is an arbitrary string with no meaning to represent. More dimensions do not make the search match exact identifiers. WHY NOT B: A Direct Vector Access index changes how vectors are written to the index (through the API instead of syncing from a Delta table). It adds no keyword matching and does not change which documents a query retrieves. WHY NOT C: A metadata filter needs the exact SKU as a separate value before the search runs. Here the SKU is buried inside a free-text question, so the application would first have to extract it reliably, and a filter does nothing for questions that mention no SKU. Hybrid search handles the question as typed.