blob: b44b4ec2945e3a55544ae044a95a8cf16a79654d [file] [log] [blame]
Edwin Lawrance75b973f2018-07-16 19:55:15 +01001{
2 "attr-translations": [
3 {
Lawrance, Edwin (el525a)e8c637b2018-09-14 15:56:22 +01004 "query": "$..[?(@.type=='string' && @.index=='analyzed')]",
5 "update": {"type": "text", "index": true, "fielddata": true}
Edwin Lawrance75b973f2018-07-16 19:55:15 +01006 },
7 {
Lawrance, Edwin (el525a)e8c637b2018-09-14 15:56:22 +01008 "query": "$..[?(@.type=='string' && @.index=='not_analyzed')]",
9 "update": {"type": "keyword", "index": true}
Edwin Lawrance75b973f2018-07-16 19:55:15 +010010 },
11 {
Lawrance, Edwin (el525a)e8c637b2018-09-14 15:56:22 +010012 "query": "$..[?(@.type=='string' && !@.index)]",
13 "update": {"type": "text", "fielddata": true}
Edwin Lawrance75b973f2018-07-16 19:55:15 +010014 }
15 ]
16}