# Stopwords keep existing after indexing data

**URL:** <https://discuss.elastic.co/t/stopwords-keep-existing-after-indexing-data/57810>\
**Category:** Elasticsearch\
**Created:** [August 11, 2016, 12:24pm UTC](https://discuss.elastic.co/t/stopwords-keep-existing-after-indexing-data/57810 "2016-08-11T12:24:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/denny/32/9157_2.png) [@Denny](https://discuss.elastic.co/u/Denny)\
**Post date:** [August 11, 2016, 12:24pm UTC](https://discuss.elastic.co/t/stopwords-keep-existing-after-indexing-data/57810/1 "2016-08-11T12:24:04Z")

</div>

Hi,

I'm new on dealing with stopwords and even though I've read and tried what has been written on the page about "Using Stopwords", I can't get it working.

I have a csv-file containing two columns: email\_category and email\_content. I'm indexing this file with Logstash and its csv-filter. Before I index it with Logstash I have written a mapping in Sense and it looks like this:

```
PUT /emails
{
    "settings" : {
        "analysis": {
            "analyzer": {
                "my_analyzer": { 
                    "type": "dutch",
                    "stopwords": "_none_"

                }
            }
        }
    },
    "mappings" : {
        "emails" : {
            "properties" : {
                "email_category" : { 
                    "type" : "string",
                    "index": "not_analyzed"
                },
                "email_content" : { 
                    "type" : "string",
                    "index": "analyzed",
                    "analyzer": "my_analyzer"
                }
            }
        }
    }
 }

```

Any ideas why the content keeps having dutch stopwords? It is not removing anything.

---

<div class="post-metadata">

**Author:** ![Denny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/denny/32/9157_2.png) [@Denny](https://discuss.elastic.co/u/Denny)\
**Post date:** [August 11, 2016, 1:30pm UTC](https://discuss.elastic.co/t/stopwords-keep-existing-after-indexing-data/57810/2 "2016-08-11T13:30:52Z")

</div>

Never mind. I did not know that stopwords remain visible when you are in "Discover" in Kibana but when you are visualizing in Kibana then those words are not being counted.

---

<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 5, 2017, 10:28pm UTC](https://discuss.elastic.co/t/stopwords-keep-existing-after-indexing-data/57810/3 "2017-07-05T22:28:22Z")

</div>


