Amazon OpenSearch Hybrid Search for RAG Medical Retrieval
Short answer
A Configure hybrid search in Amazon OpenSearch Service to combine vector similarity with keyword matching, improving exact medical term and acronym recall without adding services or pipelines.
Question
Which solution will meet these requirements with the LEAST operational overhead?
Key Takeaways
This question tests whether you can distinguish a retrieval-relevance problem from an embedding-size or service-migration problem and choose native OpenSearch hybrid search over added re-ranking infrastructure.
Amazon OpenSearch Service hybrid search combines vector similarity with keyword matching to fix exact medical term and acronym recall while preserving semantic retrieval. This page establishes why option A is the least-overhead fix for the RAG scenario.
Common mistake: Option B is tempting because larger embeddings seem to improve recall, but increasing dimensions does not add exact keyword matching, and a Lambda post-filter adds latency and operational overhead without fixing missed acronyms.
Expert Analysis
The symptom is hybrid-search shaped The reported behavior — missing exact medical terms and acronyms while returning semantically similar but irrelevant documents — points to a dense-vector-only retrieval gap, not an embedding-capacity problem. Amazon OpenSearch Service hybrid search combines vector similarity with keyword matching, so exact tokens such as acronyms and drug names contribute to ranking while semantic similarity still handles paraphrases. That makes A the correct answer, and it does so as a configuration-level change in the existing OpenSearch deployment.
Comments confirm the diagnosis One practitioner described a similar case where vector-only search ranked an employee by name and missed the correct employee ID until the search type was changed to hybrid; another stressed that hybrid search solves both exact-term recall and semantic precision without new services, migrations, or post-processing pipelines. That matches the requirement for low latency and least operational overhead as the collection grows to millions of documents.
Adjacent options add cost without closing the gap B increases embeddings from 384 to 1536 and adds a Lambda post-filter. Larger vectors do not create lexical matching, and the post-filter adds latency and another component to operate. C replaces OpenSearch with Amazon Kendra and applies query expansion; Kendra can be viable when managed enterprise search and built-in connectors are priorities, but migration, reindexing, and application changes are high operational overhead here, and query expansion alone does not directly add exact keyword scoring. D adds a SageMaker AI re-ranker as a second retrieval stage. It may improve precision, but it introduces model hosting, cross-service orchestration, and extra per-query latency, and it cannot recover exact-term matches that the first-stage vector search never returned.
What would flip the decision If the company did not already run OpenSearch, or if a compliance mandate required a managed search service with built-in document connectors, C could become reasonable. If the workload prioritized maximum ranking quality over latency and operational simplicity, D would be more competitive. Under the stated constraints — existing OpenSearch, exact medical terminology, millions of documents, low latency, least operational overhead — hybrid search is the narrowest change that addresses both recall and precision.
Operational consequence of choosing wrong Configuring hybrid search requires tuning lexical and vector weights and monitoring recall and latency, but it avoids a new migration or serving stack. Choosing B or D can make the application slower and more expensive while leaving acronym misses intact; choosing C shifts the operational burden to a migration and a different search product.
Official Reference
This link opens the official vendor documentation in a new tab.
Exam Strategy
When a RAG question says searches miss exact terms or acronyms but otherwise return semantic matches, look for a hybrid retrieval answer inside the existing vector store. Eliminate options that add a new service, migration, or post-processing Lambda because they raise operational overhead. Also reject dimension changes as a cure for lexical recall: dimensions affect representation capacity, not keyword precision. Scan the stem for “LEAST operational overhead” and prefer configuration-level OpenSearch changes over architecture rebuilds.
Frequently Asked Questions
Why does increasing embedding dimensions from 384 to 1536 not fix missed medical acronyms?
When would Amazon Kendra or a SageMaker AI re-ranker be a better fit than OpenSearch hybrid search?
What should be tuned after enabling hybrid search in OpenSearch?
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
Yeyodothi 👍 1 Answered AOpenSearch supports hybrid search i.e. combining dense vector similary search with sparse keyword search, i've seen this with trying to retrieve an employee with associated correct employee ID, it ranked the results via employee name on vector search only and returned with the correct data once search type was changed to hybrid
-
Chibuzo1 👍 1 Answered AHybrid search is a configuration-level change within the existing OpenSearch Service deployment. It directly solves both reported problems (exact term recall and semantic precision) without new services, migrations, or post-processing pipelines.
-
GiorgioGss 👍 1 Answered A" Using hybrid search, you get best-of-all-worlds retrieval." - https://aws.amazon.com/blogs/big-data/supercharge-your-rag-applications-with-amazon-opensearch-service-and-aryn-docparse/
-
ArunRav 👍 1 Answered AUsing hybrid search in opensearch can help to solve this.Option C was an option if the operational overhead was not a criteria.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AIP-C01 Questions
Access 110 questions with complete answers and detailed explanations.
View Full AIP-C01 Practice Test →