Home icon

Improving order history search using semantic search with Amazon OpenSearch Service

Big Data Blog



This article describes how Amazon improved order history search by implementing semantic search capabilities using Amazon OpenSearch Service and Amazon SageMaker, moving beyond traditional lexical matching.

  • Lexical search limitations: Cannot understand intent-based queries like "healthy drinks" without exact keyword matches
  • Implemented cell-based architecture to partition system into smaller, self-contained chunks for scalability
  • Used embedding models trained on Amazon-specific data for domain-relevant semantic understanding
  • Evaluated models using LLM-as-a-judge methodology with Claude on Amazon Bedrock
  • Deployed containerized embedding model via SageMaker inference endpoints for vector computation
  • Implemented hybrid search combining lexical and semantic results for comprehensive coverage
  • Used AWS Step Functions and Lambda to backfill billions of historical records with embeddings
  • Results: 10% improvement in query recall, 20% increase in query success rate, 48% enhanced result coverage

Amazon successfully evolved order history search to support semantic capabilities while maintaining system availability and preventing search quality degradation, enabling better natural language experiences for Rufus and Alexa.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Dec 5
2025
Amazon OpenSearch Service now supports automatic semantic enrichment
Aug 6
2025
Boosting search relevance: Automatic semantic enrichment in Amazon OpenSearch Serverless
Feb 21
2025
Improve search results for AI using Amazon OpenSearch Service as a vector database with Amazon Bedrock
Apr 24
2025
Combine keyword and semantic search for text and images using Amazon Bedrock and Amazon OpenSearch Service

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.