Closed
Description
Elasticsearch Version
8.13.1
Installed Plugins
No response
Java Version
bundled
OS Version
windows 11
Problem Description
The Elastic.Clients.Elasticsearch library for .Net (8.13.5 or earlier) is completely missing the ability to create a SynonymGraphTokenFilter using a synonyms set. It only allows for a list of synonym words or a synonyms path, not a synonyms set that was created through the Synonyms API. This is almost an identical issue that somebody reported here, but for Java.
elastic/elasticsearch-java#781
Steps to Reproduce
There is absolutely no way to create a filter like below using the elastic client library (8.13.5 or earlier) .
"filter": {
"synonyms_filter": {
"type": "synonym_graph",
"synonyms_set": "my-synonym-set",
"updateable": true
}
}
Logs (if relevant)
No response