aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/json/dynamic-custom-template.json
diff options
context:
space:
mode:
authorEdwin Lawrance <Edwin.Lawrance@amdocs.com>2018-07-12 16:28:57 +0100
committerEdwin Lawrance <Edwin.Lawrance@amdocs.com>2018-08-01 17:23:05 +0100
commit8fb6b69f8ddc607d0413dc851f629a2e300e1be9 (patch)
tree0cff609b5a0d334781230d93a3b62692763f994f /src/test/resources/json/dynamic-custom-template.json
parent77ce5bb14520c262f27995da98e13f64fb9912f5 (diff)
Updating Search service to be ES 6.1.2 compliant
Payload to Elastic Search is translated to comply ES6.1.2 PUT and POST calls now have content-type header Added functionality for dynamic templates Change-Id: I2a44a8a9999ec01a3bad1fb6999fe35bb6ef70d1 Issue-ID: AAI-1376 Signed-off-by: Edwin Lawrance <Edwin.Lawrance@amdocs.com>
Diffstat (limited to 'src/test/resources/json/dynamic-custom-template.json')
-rw-r--r--src/test/resources/json/dynamic-custom-template.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/resources/json/dynamic-custom-template.json b/src/test/resources/json/dynamic-custom-template.json
new file mode 100644
index 0000000..a7bd5ae
--- /dev/null
+++ b/src/test/resources/json/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