while trying to switch from synonym type to synonym_graph i had these settings :
"settings": {
"analysis": {
"filter": {
"synonyms_filter_ar": {
"type": "synonym",
"updateable": true,
"synonyms_set": "synonyms_ar"
},
"synonyms_filter_fr": {
"type": "synonym",
"updateable": true,
"synonyms_set": "synonyms_fr"
},
"synonyms_filter_en": {
"type": "synonym",
"updateable": true,
"synonyms_set": "synonyms_en"
}
},
"analyzer": {
"synonyms_analyzer": {
"filter": [
"synonyms_filter_fr",
"synonyms_filter_ar",
"synonyms_filter_en"
],
"tokenizer": "standard"
}
}
}
}
}
which was doing fine , however when i changed "type":"synonym"
to "type":"synonym_graph"
Creating an index results in an unsable index with no apparent error message just a timeout , so then after multiple tries i decided to remove one of the filters from the analyzer and then it worked just fine , i could not find any similare error elsewhere i don't know if i'm doing somthing wrong or is it a bug ?
more info on my version of elastic :
"number": "8.11.4",
"build_flavor": "default",
"build_type": "docker",
"build_hash": "da06c53fd49b7e676ccf8a32d6655c5155c16d81",
"build_date": "2024-01-08T10:05:08.438562403Z",
"build_snapshot": false,
"lucene_version": "9.8.0",
"minimum_wire_compatibility_version": "7.17.0",
"minimum_index_compatibility_version": "7.0.0"
}, ```