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