Importing the DynamoDB data to AWS CloudSearch

AWS CloudSearch is a search engine in AWS that allows us to perform full text searches on the documents uploaded. Many times, this functionality is helpful, as you only query hash and range keys in DynamoDB for exact searches. In this recipe, we are going to see how to integrate DynamoDB with CloudSearch so that we can search data more effectively.

Getting ready

To perform this recipe, you need to know how to use the AWS console.

How to do it…

To get started, we will first see how to launch the CloudSearch domain and import the DynamoDB table to it:

  1. Go to the AWS CloudSearch console (http://console.aws.amazon.com/cloudsearch/).
  2. Click on the Create New Domain button, which will prompt you fill in a form ...

Get DynamoDB Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.