Hi, I was trying to do updates on non-file synonyms, but it fails.
Do I have to use a file or am I doing it wrong?
Files isn't that well supported in Elasticsearch Cloud.
It is only via Cloud UI or have I missed an API way of uploading a new file?
I know I can close and open the index, but I would like to avoid downtime by just reloading analyzers like mentioned here https://www.elastic.co/blog/boosting-the-power-of-elasticsearch-with-synonyms.
Steps to recreate:
PUT /test_index
{
"settings": {
"index": {
"analysis": {
"filter": {
"synonym": {
"type": "synonym_graph",
"updateable": "true",
"lenient": "true",
"synonyms": [
"lol, laughing out loud",
"universe, cosmos"
]
}
}
}
}
}
}
PUT /test_index/_settings?pretty=true&error_trace=true&preserve_existing=true
{
"settings": {
"index": {
"analysis": {
"filter": {
"synonym": {
"synonym_graph": {
"synonyms": [
"lol, laughing out loud",
"universe, cosmos",
"i-pod, i pod => ipod"
]
}
}
}
}
}
}
}
fails with
Can't update non dynamic settings [[index.analysis.filter.synonym.synonym_graph.synonyms]] for open indices