diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-12-04 21:33:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-12-04 21:33:02 +0000 |
commit | 2dce7527bc6a7c88934eb07f16e2b1b568fb29a6 (patch) | |
tree | eb1b92897c63e1f8f6b63b269beb75e2d31316ce /kubernetes/aai/components/aai-search-data/resources/config/es-payload-translation.json | |
parent | 402744dfb6a0c0b1de43614c9919d513a24ee729 (diff) | |
parent | 7007041548231606f3a2f0f98419d43619340bda (diff) |
Merge "[AAI] Reintegrate AAI OOM charts in main repo"
Diffstat (limited to 'kubernetes/aai/components/aai-search-data/resources/config/es-payload-translation.json')
-rw-r--r-- | kubernetes/aai/components/aai-search-data/resources/config/es-payload-translation.json | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-search-data/resources/config/es-payload-translation.json b/kubernetes/aai/components/aai-search-data/resources/config/es-payload-translation.json new file mode 100644 index 0000000000..8a29863bf3 --- /dev/null +++ b/kubernetes/aai/components/aai-search-data/resources/config/es-payload-translation.json @@ -0,0 +1,17 @@ +{ + "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} + } + ] +} + |