From a74aaa5874627ea8734f56bfd56c0856f907afd6 Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Mon, 14 May 2018 15:34:04 +0200 Subject: [PATCH] Set number of shards explicitly for all tracks With this commit we set the number of shards explicitly to the default of five shards in order to keep results consistent. Relates elastic/elasticsearch#30539 Relates #44 --- eventdata/index.json | 3 +++ geonames/index.json | 3 +++ geopoint/index.json | 3 +++ http_logs/index.json | 3 +++ percolator/index.json | 3 +++ pmc/index.json | 3 +++ so/index.json | 3 +++ 7 files changed, 21 insertions(+) diff --git a/eventdata/index.json b/eventdata/index.json index 441014988..df64b5da8 100644 --- a/eventdata/index.json +++ b/eventdata/index.json @@ -1,4 +1,7 @@ { + "settings": { + "index.number_of_shards": 5 + }, "mappings": { "doc": { "dynamic": "strict", diff --git a/geonames/index.json b/geonames/index.json index 66a923a9c..3605ed2b7 100644 --- a/geonames/index.json +++ b/geonames/index.json @@ -1,4 +1,7 @@ { + "settings": { + "index.number_of_shards": 5 + }, "mappings": { "type": { "dynamic": "strict", diff --git a/geopoint/index.json b/geopoint/index.json index ba9cc9e8f..45913b7a8 100644 --- a/geopoint/index.json +++ b/geopoint/index.json @@ -1,4 +1,7 @@ { + "settings": { + "index.number_of_shards": 5 + }, "mappings": { "type": { "dynamic": "strict", diff --git a/http_logs/index.json b/http_logs/index.json index 46ec8e804..912990b14 100644 --- a/http_logs/index.json +++ b/http_logs/index.json @@ -1,4 +1,7 @@ { + "settings": { + "index.number_of_shards": 5 + }, "mappings": { "type": { "dynamic": "strict", diff --git a/percolator/index.json b/percolator/index.json index bc043d650..6ce8f3496 100644 --- a/percolator/index.json +++ b/percolator/index.json @@ -1,4 +1,7 @@ { + "settings": { + "index.number_of_shards": 5 + }, "mappings": { "content": { "_source": { diff --git a/pmc/index.json b/pmc/index.json index 84c2837c8..c2e66db83 100644 --- a/pmc/index.json +++ b/pmc/index.json @@ -1,4 +1,7 @@ { + "settings": { + "index.number_of_shards": 5 + }, "mappings": { "articles": { "_source": { diff --git a/so/index.json b/so/index.json index 4a5b3763d..0e047d011 100644 --- a/so/index.json +++ b/so/index.json @@ -1,4 +1,7 @@ { + "settings": { + "index.number_of_shards": 5 + }, "mappings": { "doc": { "dynamic": "strict",