Multiple Synonym lists for the same field controlled by other field in Elastic Search

Is there a way to define multiple synonym lists in Elasticsearch 7 based on languages and some specific field in the Elasticsearch document? The use case is, I have a field "A" with possible values "Y" and "Z". Now, depending on the value of field "A" and the "language" of document, I want to assign it a specific synonym list. Is there a way to achieve this through "es_mappings"?

Synonym Data: 
"Y" > "en"
    > "es"
    > "fr"
    > "it"
    > ..
    > ..
"Z" > "en"
    > "es"
    > "fr"
    > "it"
    > ..
    > ..

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.