# Update synonym.txt file and no server restart

**URL:** <https://discuss.elastic.co/t/update-synonym-txt-file-and-no-server-restart/12851>\
**Category:** Elasticsearch\
**Created:** [July 18, 2013, 9:07pm UTC](https://discuss.elastic.co/t/update-synonym-txt-file-and-no-server-restart/12851 "2013-07-18T21:07:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boaz\_Trindade](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Boaz\_Trindade](https://discuss.elastic.co/u/Boaz_Trindade)\
**Post date:** [July 18, 2013, 9:07pm UTC](https://discuss.elastic.co/t/update-synonym-txt-file-and-no-server-restart/12851/1 "2013-07-18T21:07:30Z")

</div>

Hi,

Is it possible to update synonym.txt and don't restart the server?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [July 18, 2013, 9:12pm UTC](https://discuss.elastic.co/t/update-synonym-txt-file-and-no-server-restart/12851/2 "2013-07-18T21:12:16Z")

</div>

Someone created a plugin to reload the file:

> **[GitHub - lindstromhenrik/elasticsearch-analysis-file-watcher-synonym: The file watcher synonym plugin adds a synonym...](https://github.com/lindstromhenrik/elasticsearch-analysis-file-watcher-synonym)**
>
> The file watcher synonym plugin adds a synonym token filter that reloads the synonym file at given intervals.

## However, I have never used it.

Ivan

On Thu, Jul 18, 2013 at 2:07 PM, Boaz [boaz.trindade@gmail.com](mailto:boaz.trindade@gmail.com) wrote:

> Hi,
> 
> Is it possible to update synonym.txt and don't restart the server?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Boaz\_Trindade](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Boaz\_Trindade](https://discuss.elastic.co/u/Boaz_Trindade)\
**Post date:** [July 22, 2013, 9:01pm UTC](https://discuss.elastic.co/t/update-synonym-txt-file-and-no-server-restart/12851/3 "2013-07-22T21:01:56Z")

</div>

This plugin did not work with 0.90.2

I've tried to stop and start index and this operation took less than 1  
second. I think this will be the temporary solution to me.

Anyway, thank you

Em quinta-feira, 18 de julho de 2013 18h07min30s UTC-3, Boaz escreveu:

> Hi,
> 
> Is it possible to update synonym.txt and don't restart the server?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [July 23, 2013, 4:39pm UTC](https://discuss.elastic.co/t/update-synonym-txt-file-and-no-server-restart/12851/4 "2013-07-23T16:39:06Z")

</div>

It should be relatively easy to update that plugin to Lucene 4.

I have a similar plugin that also needs to be upgraded. One day I will  
clean it up and open-source it.

--  
Ivan

On Mon, Jul 22, 2013 at 2:01 PM, Boaz [boaz.trindade@gmail.com](mailto:boaz.trindade@gmail.com) wrote:

> This plugin did not work with 0.90.2
> 
> I've tried to stop and start index and this operation took less than 1  
> second. I think this will be the temporary solution to me.
> 
> Anyway, thank you
> 
> Em quinta-feira, 18 de julho de 2013 18h07min30s UTC-3, Boaz escreveu:
> 
> > Hi,
> > 
> > Is it possible to update synonym.txt and don't restart the server?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:24am UTC](https://discuss.elastic.co/t/update-synonym-txt-file-and-no-server-restart/12851/5 "2017-07-06T02:24:59Z")

</div>


