Hello, Elastic Team.
I'm using one cluster with three nodes in two server machines.
Is there any method to update user / synonym dictionary file at once?
Unfortunately, machines cannot use shared folder.
For now, we are sending files to each machine's elasticsearch folder.
If we split master node and data node, can we send dictionary file to only master node?
OR can we update file to all nodes as one cluster at once?
Thank you in advance.
unfortunately the resource files (e.g. synonyms) need to be present on every data node on the cluster in the same location (e.g. the config directory). There is an open issue to load data from an auxiliary index but it is not currently worked on. Definitely on the wish-list though. In the meantime you need to rely on scripting etc... to deply the files correctly in your cluster. The files get loaded once when the index is created or re-opened (after closing), so if you update all files on a closed index and reopen it, all should be good. As an alternative you can use the Reload Search Analyzers API to reload synonyms used in search analyzers, there you need to make sure to call the API endpoint only when all files have been replaces/updated.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.