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

Performing a full text search on the DynamoDB data using CloudSearch


In the previous recipe, we saw how to import DynamoDB to CloudSearch. In this recipe, we will see how to perform a full text search on the same data.

Getting ready

To perform this recipe, you should have performed the earlier recipe.

How to do it…

Let's perform a full text search on the DynamoDB:

  1. CloudSearch gives us a built-in capability to perform a full text, faceted search. To get started, we need to click on the Run a Test Search link:

  2. On this screen, you will see a textbox where you can type your query, for example, I need to search a query 'Samsung'; then, I need to type this in the textbox and click on the Go button. It will search in documents and return the results.

  3. You can also perform a search on a specific attribute by expanding the Options section on same screen. For example, if I want to search only those products that are manufactured by PacktPub, I can do this in the following manner, as shown in the following...