From 22459ee17a3ba0b4487f975b6ebe630cab2d9feb Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Thu, 17 Aug 2017 15:05:17 +0100 Subject: PLT-7302: Aggregate Elasticsearch indexes over a certain age. (#7224) * PLT-7302: Aggregate Elasticsearch indexes over a certain age. This is done by a scheduled daily job, in order to keep the shard count to a sensible level in Elasticsearch. * Use map[string]string instead of StringMap --- config/config.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config/config.json') diff --git a/config/config.json b/config/config.json index 5acd7d177..b8657d8d2 100644 --- a/config/config.json +++ b/config/config.json @@ -296,7 +296,9 @@ "EnableSearching": false, "Sniff": true, "PostIndexReplicas": 1, - "PostIndexShards": 1 + "PostIndexShards": 1, + "AggregatePostsAfterDays": 365, + "PostsAggregatorJobStartTime": "03:00" }, "DataRetentionSettings": { "Enable": false -- cgit v1.2.3-1-g7c22