From: Lawrance, Edwin (el525a) Date: Fri, 13 Jul 2018 11:27:37 +0000 (+0100) Subject: Adding payload translation configuration for ES v6 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Ftest-config.git;a=commitdiff_plain;h=07db3b152804ca1ab7dd8b45646afa7dd45cd924 Adding payload translation configuration for ES v6 To be precise for ElasticSearch 6.1.2 Change-Id: Id8a70baeaef3bbb25dbdadcbc0edd9de2e4dc49b Issue-ID: AAI-1376 Signed-off-by: Lawrance, Edwin (el525a) --- diff --git a/search-data-service/appconfig/es-payload-translation.json b/search-data-service/appconfig/es-payload-translation.json new file mode 100644 index 0000000..967a28a --- /dev/null +++ b/search-data-service/appconfig/es-payload-translation.json @@ -0,0 +1,20 @@ +{ + "attr-translations": [ + { + "from": "\"type\":\"string\",\"index\":\"analyzed\"", + "to": "\"type\":\"text\",\"index\":\"true\"" + }, + { + "from": "\"type\":\"string\",\"index\":\"not_analyzed\"", + "to": "\"type\":\"keyword\",\"index\":\"true\"" + }, + { + "from": "\"type\":\"string\"", + "to": "\"type\":\"text\"" + }, + { + "from": "searchable", + "to": "index" + } + ] +} \ No newline at end of file