Synonyms file location


#1

We have client, master and data nodes in our cluster.

  • Why does synonyms file need to be in each (client, master or data) node of the cluster?

  • Why should the client node care for synonyms file?


(Mark Walkom) #2

Given a document is sent to a (data) node that has the relevant shard, I'd expect that it only needs to be the data nodes. But don't quote me as that's just an educated guess!


#3

That is exactly what I think it should be. Perhaps it was not thought through...

Is it OK to create a ticket in Github against ES?


(Mark Walkom) #4

Let me see if I can get a definitive response from one of the core team.


(Mark Walkom) #5

It needs to be on both data and master nodes.


#6

ok.. thank you. I will try it by not putting it in client nodes


#7

Verified this today on elastic 2.x. synonyms file needs to be in master and data nodes only. I suppose the same behavior exists on elastic 1.x as well.


(Ivan Brusic) #8

Considering that the synonyms file is part of the mapping, it should be
placed on the master nodes as well, since the master nodes coordinate
mapping changes.


(system) #9