Skip to content

Commit 0ecc50d

Browse files
authored
fix: synonym analyzer (#87)
* feat: add template for searchable fields * fix: add lang + synonyms mapping * feat: add template for v6 + synonyms analyzer * fix: synonym analyzer
1 parent bd56a78 commit 0ecc50d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

util/es_template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func SetDefaultIndexTemplate() error {
102102
},
103103
"synonyms": {
104104
"type": "text",
105-
"analyzer": "synonym"
105+
"analyzer": "synonyms"
106106
},
107107
"lang": {
108108
"type": "text",

0 commit comments

Comments
 (0)