# Update analyzer (stopwords)

**URL:** <https://discuss.elastic.co/t/update-analyzer-stopwords/75748>\
**Category:** Elasticsearch\
**Created:** [February 20, 2017, 1:25pm UTC](https://discuss.elastic.co/t/update-analyzer-stopwords/75748 "2017-02-20T13:25:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maikel\_Janssen](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@Maikel\_Janssen](https://discuss.elastic.co/u/Maikel_Janssen)\
**Post date:** [February 20, 2017, 1:25pm UTC](https://discuss.elastic.co/t/update-analyzer-stopwords/75748/1 "2017-02-20T13:25:43Z")

</div>

Hello,

Just starting using elasticsearch (this is the cluster code 5b399c ) and the basics are setup and working well. Now i am trying to update the elasticsearch analyzer based on the article here; [https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-lang-analyzer.html#dutch-analyzer](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-lang-analyzer.html#dutch-analyzer)

I am using elastic cloud (5.2 version).

I copy and pasted the configuration listed there and tried the one **with** the keywords filled, keywords **empty** and keywords **removed**.

But in all 3 cases the response i get is the following; keyword filter requires either `keywords` or `keywords_path` to be configured ☹

Any idea what i am doing wrong? Caught up on the documentation and everything that was there does not seem to help. Could really use some help.

Checked this article too [Set Elastic to search in other language](https://discuss.elastic.co/t/set-elastic-to-search-in-other-language/74696) but no reply there either. And listed the problem here too just now, to see if someone can help me with it [Language analyzer en français](https://discuss.elastic.co/t/language-analyzer-en-francais/41045/6)

This is an example of a try (the one without the keywords set) i tried to leave as much as possible intact. I do not need the override as well, but thought it would do no harm.

```
curl -XPUT 'clustername/indexname/_settings' -d '{
  "settings": {
    "analysis": {
      "filter": {
        "dutch_stop": {
          "type": "stop",
          "stopwords": "_dutch_" 
        },
        "dutch_stemmer": {
          "type": "stemmer",
          "language": "dutch"
        },
        "dutch_override": {
          "type": "stemmer_override",
          "rules": [
            "fiets=>fiets",
            "bromfiets=>bromfiets",
            "ei=>eier",
            "kind=>kinder"
          ]
        }
      },
      "analyzer": {
        "dutch": {
          "tokenizer": "standard",
          "filter": [
            "lowercase",
            "dutch_stop",
            "dutch_override",
            "dutch_stemmer"
          ]
        }
      }
    }
  }
}'

```

Also tried a more clean version where i left out the dutch\_keywords and the dutch\_override;

```
{
  "settings": {
    "analysis": {
      "filter": {
        "dutch_stop": {
          "type": "stop",
          "stopwords": "_dutch_"
        },
        "dutch_stemmer": {
          "type": "stemmer",
          "language": "dutch"
        }                                 
      },           
      "analyzer": {
        "dutch": {                 
          "tokenizer": "standard",
          "filter": [   
            "lowercase", 
            "dutch_stop",  
            "dutch_stemmer"
          ]
        }
      }
    }
  }
}

```

This one will not work either.

---

<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:** [February 23, 2017, 1:26pm UTC](https://discuss.elastic.co/t/update-analyzer-stopwords/75748/2 "2017-02-23T13:26:03Z")

</div>

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