Adding dynamic custom template for ES v6 63/58463/1
authorEdwin Lawrance <Edwin.Lawrance@amdocs.com>
Wed, 1 Aug 2018 16:56:30 +0000 (17:56 +0100)
committerEdwin Lawrance <Edwin.Lawrance@amdocs.com>
Wed, 1 Aug 2018 16:56:30 +0000 (17:56 +0100)
Mapping for "string" typed dynamic fields

Change-Id: I5b8fbbd1f004701a827790bce053a0fc446ebb83
Issue-ID: AAI-1376
Signed-off-by: Edwin Lawrance <Edwin.Lawrance@amdocs.com>
search-data-service/appconfig/dynamic-custom-template.json [new file with mode: 0644]

diff --git a/search-data-service/appconfig/dynamic-custom-template.json b/search-data-service/appconfig/dynamic-custom-template.json
new file mode 100644 (file)
index 0000000..a7bd5ae
--- /dev/null
@@ -0,0 +1,12 @@
+"dynamic_templates":[  
+   {  
+      "strings":{  
+         "match_mapping_type":"string",
+         "match": "*",
+         "mapping":{
+            "type":"text",
+            "fielddata":true
+         }
+      }
+   }
+],
\ No newline at end of file