Skip to content

Commit a11193a

Browse files
committed
Updates to setup and basics.
1 parent d4a7afe commit a11193a

File tree

5 files changed

+287
-165
lines changed

5 files changed

+287
-165
lines changed

dotnetv4/IoT/Actions/IoTWrapper.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,17 @@ public async Task<List<ThingDocument>> SearchIndexAsync(string queryString)
384384
{
385385
try
386386
{
387+
await _amazonIoT.UpdateIndexingConfigurationAsync(
388+
new UpdateIndexingConfigurationRequest()
389+
{
390+
ThingIndexingConfiguration = new ThingIndexingConfiguration()
391+
{
392+
ThingIndexingMode = ThingIndexingMode.REGISTRY
393+
}
394+
});
395+
387396
var request = new SearchIndexRequest
388397
{
389-
IndexName = "AWS_Things",
390398
QueryString = queryString
391399
};
392400

0 commit comments

Comments
 (0)