[Dynamo] fix search index creation