From 6c69e2a0f0af766b434b003f3e3ea8e6cff4e36e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 26 Feb 2021 20:02:56 -0800 Subject: elasticsearch schema, docs, docker: update from ES 6.x to ES 7.x Including removing index document names (use '_doc' instead during transition) --- extra/elasticsearch/changelog_schema.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extra/elasticsearch/changelog_schema.json') diff --git a/extra/elasticsearch/changelog_schema.json b/extra/elasticsearch/changelog_schema.json index d8342549..6e784a57 100644 --- a/extra/elasticsearch/changelog_schema.json +++ b/extra/elasticsearch/changelog_schema.json @@ -1,6 +1,8 @@ { "settings": { "index": { + "number_of_shards": 2, + "number_of_replicas": 0, "analysis": { "analyzer": { "default": { @@ -25,7 +27,7 @@ } }, "mappings": { - "changelog": { + "_doc": { "properties": { "index": { "type": "integer" }, "editgroup_id": { "type": "keyword", "normalizer": "default", "doc_values": false }, -- cgit v1.2.3