Updating Search service to be ES 6.1.2 compliant
[aai/search-data-service.git] / src / test / resources / json / es-payload-translation.json
1 {
2   "attr-translations": [
3     { 
4       "from": "\"data-type\":\"string\"",
5       "to": "\"data-type\":\"text\",\"fielddata\":true"
6     },    
7     {
8       "from": "\"type\":\"string\",\"index\":\"analyzed\"",
9       "to": "\"type\":\"text\",\"index\":\"true\",\"fielddata\":true"
10     },
11     {
12       "from": "\"type\":\"string\",\"index\":\"not_analyzed\"",
13       "to": "\"type\":\"keyword\",\"index\":\"true\""
14     },
15     {
16       "from": "\"type\":\"string\"",
17       "to": "\"type\":\"text\",\"fielddata\":true"
18     },
19     {
20       "from": "searchable",
21       "to": "index"
22     }
23   ]
24 }