From 03ce74c58c3b828746cb0bbfcf9ade5eeea4531a Mon Sep 17 00:00:00 2001 From: Yaron Parasol Date: Tue, 29 May 2018 11:28:45 +0100 Subject: [PATCH] Update bus_template.json replaced _defaults_ with _doc --- examples/bus_template.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/bus_template.json b/examples/bus_template.json index a175552..c899e0a 100644 --- a/examples/bus_template.json +++ b/examples/bus_template.json @@ -5,14 +5,12 @@ "number_of_replicas" : 0 }, "mappings": { - "_default_": { - "_all": { "enabled": false }, - "_source": { "compress": true }, - "properties" : { + "_doc": { + "properties" : { "location": { "type": "geo_point" }, "@tags": { "type": "string", "index" : "not_analyzed" }, "@timestamp" : { "type" : "date", "index" : "not_analyzed" } } } } -} \ No newline at end of file +}