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.
To get started, we will first see how to launch the CloudSearch domain and import the DynamoDB table to it:
Go to the AWS CloudSearch console (http://console.aws.amazon.com/cloudsearch/).
Click on the Create New Domain button, which will prompt you fill in a form to include details. Here, you need to specify the domain name, number of instances, and instance types:
On the next screen, you need to choose where to import the data from. Here, select Analyze sample item(s) from Amazon DynamoDB. I also need to select...