Skip to content

Commit ae22882

Browse files
authored
Fix synonyms config for indexing (#2101)
1 parent cb8c7df commit ae22882

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Elastic.Markdown/Exporters/Elasticsearch/ElasticsearchExporter.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,9 @@ protected static string CreateMappingSetting(string synonymSetName) =>
164164
"filter": {
165165
"synonyms_filter": {
166166
"type": "synonym_graph",
167-
"synonyms_set": "{{synonymSetName}}"
168-
},
167+
"synonyms_set": "{{synonymSetName}}",
168+
"updateable": true
169+
},
169170
"english_stop": {
170171
"type": "stop",
171172
"stopwords": "_english_"

0 commit comments

Comments
 (0)