summaryrefslogtreecommitdiffstats
path: root/search-data-service
diff options
context:
space:
mode:
authorEdwin Lawrance <Edwin.Lawrance@amdocs.com>2018-08-01 17:56:30 +0100
committerEdwin Lawrance <Edwin.Lawrance@amdocs.com>2018-08-01 17:56:30 +0100
commit3c486121d8e4f3fde62753afa2c0a49edf175f47 (patch)
treed726d0315e4a2c53f1347e142354a6d62520f4e5 /search-data-service
parent07db3b152804ca1ab7dd8b45646afa7dd45cd924 (diff)
Adding dynamic custom template for ES v6
Mapping for "string" typed dynamic fields Change-Id: I5b8fbbd1f004701a827790bce053a0fc446ebb83 Issue-ID: AAI-1376 Signed-off-by: Edwin Lawrance <Edwin.Lawrance@amdocs.com>
Diffstat (limited to 'search-data-service')
-rw-r--r--search-data-service/appconfig/dynamic-custom-template.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/search-data-service/appconfig/dynamic-custom-template.json b/search-data-service/appconfig/dynamic-custom-template.json
new file mode 100644
index 0000000..a7bd5ae
--- /dev/null
+++ b/search-data-service/appconfig/dynamic-custom-template.json
@@ -0,0 +1,12 @@
+"dynamic_templates":[
+ {
+ "strings":{
+ "match_mapping_type":"string",
+ "match": "*",
+ "mapping":{
+ "type":"text",
+ "fielddata":true
+ }
+ }
+ }
+], \ No newline at end of file