From 2180facfed6f85c08b7b917625fbbdeca669d058 Mon Sep 17 00:00:00 2001 From: Andrey Gorbunov Date: Mon, 16 Dec 2024 12:05:33 +0100 Subject: [PATCH] Refs #33660: Storyblok extension - Elasticsearch indexes - disable sharding and replicas --- src/api/extensions/vsf-storyblok-extension/helpers.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/extensions/vsf-storyblok-extension/helpers.js b/src/api/extensions/vsf-storyblok-extension/helpers.js index 2b708756..9977d80f 100644 --- a/src/api/extensions/vsf-storyblok-extension/helpers.js +++ b/src/api/extensions/vsf-storyblok-extension/helpers.js @@ -84,6 +84,8 @@ export function createIndex (config) { return { index: config.storyblok.storiesIndex, body: { + number_of_shards: 1, + number_of_replicas: 0, index: { mapping: { total_fields: {