4 "query": "$..[?(@.type=='string' && @.index=='analyzed')]",
5 "update": {"type": "text", "index": true, "fielddata": true}
8 "query": "$..[?(@.type=='string' && @.index=='not_analyzed')]",
9 "update": {"type": "keyword", "index": true}
12 "query": "$..[?(@.type=='string' && !@.index)]",
13 "update": {"type": "text", "fielddata": true}