From 90093395b6c04eccf14e1942f544e0a196ae9845 Mon Sep 17 00:00:00 2001 From: doug Date: Fri, 9 Dec 2022 10:23:09 -0500 Subject: [PATCH] keep so-import indices open as in 2.3 --- setup/so-functions | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/setup/so-functions b/setup/so-functions index 56d2a0394..e1dae86c7 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1086,6 +1086,25 @@ elasticsearch_pillar() { " number_of_shards: 1"\ " number_of_replicas: 0" >> $elasticsearch_pillar_file done + for INDEX in import + do + printf '%s\n'\ + " so-$INDEX:"\ + " warm: 7"\ + " close: 73000"\ + " delete: 73001"\ + " index_sorting: False"\ + " index_template:"\ + " template:"\ + " settings:"\ + " index:"\ + " mapping:"\ + " total_fields:"\ + " limit: 5000"\ + " refresh_interval: 30s"\ + " number_of_shards: 1"\ + " number_of_replicas: 0" >> $elasticsearch_pillar_file + done } es_heapsize() {