summaryrefslogtreecommitdiffstats
path: root/search-data-service/appconfig/es-payload-translation.json
diff options
context:
space:
mode:
authorLawrance, Edwin (el525a) <Edwin.Lawrance@amdocs.com>2018-07-13 12:27:37 +0100
committerLawrance, Edwin (el525a) <Edwin.Lawrance@amdocs.com>2018-07-13 12:30:09 +0100
commit07db3b152804ca1ab7dd8b45646afa7dd45cd924 (patch)
treea515e7c8064ae8c6e89d3cb4aee9f795c267bc62 /search-data-service/appconfig/es-payload-translation.json
parent2d5f51798b925a71fc68480049cc527475cfbdd9 (diff)
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) <Edwin.Lawrance@amdocs.com>
Diffstat (limited to 'search-data-service/appconfig/es-payload-translation.json')
-rw-r--r--search-data-service/appconfig/es-payload-translation.json20
1 files changed, 20 insertions, 0 deletions
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