summaryrefslogtreecommitdiffstats
path: root/search-data-service/appconfig/es-payload-translation.json
blob: b44b4ec2945e3a55544ae044a95a8cf16a79654d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "attr-translations": [
    {
      "query": "$..[?(@.type=='string' && @.index=='analyzed')]",
      "update": {"type": "text", "index": true, "fielddata": true}
    },
    {
      "query": "$..[?(@.type=='string' && @.index=='not_analyzed')]",
      "update": {"type": "keyword", "index": true}
    },
    {
      "query": "$..[?(@.type=='string' && !@.index)]",
      "update": {"type": "text", "fielddata": true}
    }
  ]
}