From b48c85dcf9f9496929d6ada98e4a64db6c94265d Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Sat, 8 Feb 2025 11:03:31 +0800 Subject: [PATCH] Increase ES update script length. (#4785) ### What problem does this PR solve? #4749 ### Type of change - [x] Performance Improvement --- conf/mapping.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/mapping.json b/conf/mapping.json index f32acb02b..71dc95362 100644 --- a/conf/mapping.json +++ b/conf/mapping.json @@ -5,6 +5,9 @@ "number_of_replicas": 0, "refresh_interval": "1000ms" }, + "persistent" : { + "script.max_compilations_rate" : "200/10m" + }, "similarity": { "scripted_sim": { "type": "scripted",