# Elasticsearch - refresh config

**URL:** <https://discuss.elastic.co/t/elasticsearch-refresh-config/279904>\
**Category:** Elasticsearch\
**Created:** [July 28, 2021, 7:03pm UTC](https://discuss.elastic.co/t/elasticsearch-refresh-config/279904 "2021-07-28T19:03:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Z](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brian_z/32/92281_2.png) [@Brian\_Z](https://discuss.elastic.co/u/Brian_Z)\
**Post date:** [July 28, 2021, 7:03pm UTC](https://discuss.elastic.co/t/elasticsearch-refresh-config/279904/1 "2021-07-28T19:03:28Z")

</div>

I'm using [elastic cloud](https://www.elastic.co/guide/en/cloud/current/ec-custom-bundles.html) and I need to configure synonyms. I've done that successfully by uploading a zip file containing a `elasticsearch/dictionaries/synonyms.txt` file and creating an index that uses them by doing:

```auto
PUT /synonym_test
{
  "settings": {
    "index": {
      "analysis": {
        "analyzer": {
          "synonym_analyzer": {
            "tokenizer": "lowercase",
            "filter": ["porter_stem", "my_synonyms"]
          }
        },
        "filter": {
          "my_synonyms": {
            "type": "synonym",
            "synonyms_path": "elasticsearch/dictionaries/synonyms.txt",
            "updateable": true
          }
        }
      }
    }
  }
}

GET /synonym_test/_analyze
{
  "analyzer": "synonym_analyzer",
  "text": "notebook"
}

```

This works correctly. Now I want to update my `synonyms.txt` file with new entries, which I can do by using the `Extensions API` . Once I've uploaded the new file correctly, I need all the nodes to pick up the new configuration and this is where I'm getting in trouble.

How do I restart the nodes so that they pick up the new config files?

I've tried using the API `/deployments/:deployment_id/elasticsearch/:ref_id/_restart` , which does restart the deployment, but the new synonyms file is not picked up.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 28, 2021, 11:38pm UTC](https://discuss.elastic.co/t/elasticsearch-refresh-config/279904/2 "2021-07-28T23:38:51Z")

</div>

Welcome to our community! 😃

The first thing I would suggest is to raise this with the Cloud Support team, they should be able to help you with this.

If you don't have any luck there then let us know.

---

<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:** [August 25, 2021, 11:39pm UTC](https://discuss.elastic.co/t/elasticsearch-refresh-config/279904/3 "2021-08-25T23:39:45Z")

</div>

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