diff options
author | Edwin Lawrance <Edwin.Lawrance@amdocs.com> | 2018-08-01 17:56:30 +0100 |
---|---|---|
committer | Edwin Lawrance <Edwin.Lawrance@amdocs.com> | 2018-08-01 17:56:30 +0100 |
commit | 3c486121d8e4f3fde62753afa2c0a49edf175f47 (patch) | |
tree | d726d0315e4a2c53f1347e142354a6d62520f4e5 /search-data-service | |
parent | 07db3b152804ca1ab7dd8b45646afa7dd45cd924 (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.json | 12 |
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 |