# Share Synonym Path for multiple nodes

**URL:** <https://discuss.elastic.co/t/share-synonym-path-for-multiple-nodes/272940>\
**Category:** Elasticsearch\
**Created:** [May 13, 2021, 5:35pm UTC](https://discuss.elastic.co/t/share-synonym-path-for-multiple-nodes/272940 "2021-05-13T17:35:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Coder\_Cub](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/coder_cub/32/45327_2.png) [@Coder\_Cub](https://discuss.elastic.co/u/Coder_Cub)\
**Post date:** [May 13, 2021, 5:35pm UTC](https://discuss.elastic.co/t/share-synonym-path-for-multiple-nodes/272940/1 "2021-05-13T17:35:45Z")

</div>

Hi,

I have 3 nodes for my index. I am using synonym filter with synonym .txt for few fields in my index.

Is it possible to use one file for all 3 nodes? Something like keeping it in network path and using that in `Synonym_path`?  
What is the best way to keep one file instead of updating multiple files when there is a change in synonyms.

`"synonym": { "type": "synonym", "synonyms_path": "//network/synonms/synonym.txt" }`

Error:  
`{ "error" : { "root_cause" : [{ "type" : "security_exception", "reason" : "access denied (\"java.io.FilePermission\" \"/Network/synonms/synonym.txt\" \"read\")" }], "type" : "security_exception", "reason" : "access denied (\"java.io.FilePermission\" \"/Network/synonms/synonym.txt\" \"read\")" }, "status" : 500 }`

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 10, 2021, 5:35pm UTC](https://discuss.elastic.co/t/share-synonym-path-for-multiple-nodes/272940/2 "2021-06-10T17:35:56Z")

</div>

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