Merge "Adding dynamic custom template for ES v6"
authorJames Forsyth <jf2512@att.com>
Thu, 2 Aug 2018 16:28:32 +0000 (16:28 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 2 Aug 2018 16:28:32 +0000 (16:28 +0000)
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