We can now directly upload some documents from DynamoDB to the CloudSearch domain, so we can directly try out our new search engine.
CloudSearch provides another wizard for that purpose, which can be accessed from the domain's dashboard:
To launch the wizard, you can click on the Upload Documents button. After that, you'll see a couple of options:
We should select the Item(s) from Amazon DynamoDB option to proceed with DynamoDB and then click on Continue. In the next step, a sample from our table will be read and analyzed against index structure. As all the fields we have in the user table are also indexed in the CloudSearch table, there should not be any problem:
When we finish the wizard, the result will be successful, and CloudSearch will index all the users that we created in our API during the tests.
Let's run a test query to ensure that...