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