Home icon
Perform fuzzy full-text search and semantic search on Amazon DocumentDB using Amazon OpenSearch Service

Blog



This article demonstrates integrating Amazon DocumentDB with Amazon OpenSearch Service using AWS Lambda to enable advanced search capabilities on JSON document data.

  • Use Lambda with DocumentDB change streams to replicate data to OpenSearch Service
  • Perform full-text search, fuzzy search, and synonym-based queries on product reviews
  • Deploy infrastructure via CloudFormation including DocumentDB cluster, OpenSearch domain, and Lambda function
  • Enable DocumentDB change streams to capture insert, update, and delete events
  • Load review dataset and stream changes automatically to OpenSearch index
  • Execute queries with phrase matching, field boosting, fuzzy matching, and synonym support

This solution enables ecommerce platforms and similar applications to provide enhanced search experiences by combining DocumentDB's document storage with OpenSearch's powerful search and analytics capabilities.



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

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.