I have a cluster of 3 nodes. My index is located on node-2 (primary shard) and node-3 (replica shard) and node-1 is currently master...Anyway, I have my own
synonym.txt and I need to know that, should I have to copy my config (
synonym.txt) to all the masters , and all of the data nodes?
Or only data nodes?
Another question: if
synonym.txt is being to be used just during mapping the index (I mean creating documents ) and is not required when searching/query the index, so again I ask, should I have to copy the
synonym.txt to all master, replica and primary nodes or only on the node which primary-shard is located on is sufficient?
I can get my answer using try/error, but I need to know the global rule.