From 2502925eec5035887b01641fd49d025b52b8b8de Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Thu, 23 Oct 2025 13:44:16 +0200 Subject: [PATCH] Fix synonyms config for indexing --- .../Exporters/Elasticsearch/ElasticsearchExporter.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Elastic.Markdown/Exporters/Elasticsearch/ElasticsearchExporter.cs b/src/Elastic.Markdown/Exporters/Elasticsearch/ElasticsearchExporter.cs index afdd99498..f3b9b9a53 100644 --- a/src/Elastic.Markdown/Exporters/Elasticsearch/ElasticsearchExporter.cs +++ b/src/Elastic.Markdown/Exporters/Elasticsearch/ElasticsearchExporter.cs @@ -164,8 +164,9 @@ protected static string CreateMappingSetting(string synonymSetName) => "filter": { "synonyms_filter": { "type": "synonym_graph", - "synonyms_set": "{{synonymSetName}}" - }, + "synonyms_set": "{{synonymSetName}}", + "updateable": true + }, "english_stop": { "type": "stop", "stopwords": "_english_"