Book Image

DynamoDB Cookbook

By : Tanmay Deshpande
Book Image

DynamoDB Cookbook

By: Tanmay Deshpande

Overview of this book

Table of Contents (18 chapters)
DynamoDB Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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 to include details. Here, you need to specify the domain name, number of instances, and instance types:

  3. 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...