# Stopwords in kibana

**URL:** <https://discuss.elastic.co/t/stopwords-in-kibana/129620>\
**Category:** Elasticsearch\
**Created:** [April 26, 2018, 9:06am UTC](https://discuss.elastic.co/t/stopwords-in-kibana/129620 "2018-04-26T09:06:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aarthinim](https://avatars.discourse-cdn.com/v4/letter/a/35a633/32.png) [@aarthinim](https://discuss.elastic.co/u/aarthinim)\
**Post date:** [April 26, 2018, 9:06am UTC](https://discuss.elastic.co/t/stopwords-in-kibana/129620/1 "2018-04-26T09:06:19Z")

</div>

In kibana stopwords is not working .  
PUT /samp1/\_settings  
{

```
"analysis": {
  "analyzer": {
    "custname": {
      "type": "stop", 
      "stopwords": ["and", "the","." ,"on","dog"] 
    }
  }
}

```

}  
This is my stopword setting  
{  
"took": 0,  
"timed\_out": false,  
"\_shards": {  
"total": 5,  
"successful": 5,  
"skipped": 0,  
"failed": 0  
},  
"hits": {  
"total": 5,  
"max\_score": 1,  
"hits": [  
{  
"\_index": "samp1",  
"\_type": "samp",  
"\_id": "8QUwAWMB5KTKswR5ITjP",  
"\_score": 1,  
"\_source": {  
"work": "dog sleeping "  
}  
},  
{  
"\_index": "samp1",  
"\_type": "samp",  
"\_id": "2AUxAWMB5KTKswR5NzqI",  
"\_score": 1,  
"\_source": {  
"work": "cat playing"  
}  
},  
{  
"\_index": "samp1",  
"\_type": "samp",  
"\_id": "fQUwAWMB5KTKswR5bjlJ",  
"\_score": 1,  
"\_source": {  
"work": "cat and dog sleeping "  
}  
},  
{  
"\_index": "samp1",  
"\_type": "samp",  
"\_id": "kQUwAWMB5KTKswR58jol",  
"\_score": 1,  
"\_source": {  
"work": "cat and dog sleeping "  
}  
},  
{  
"\_index": "samp1",  
"\_type": "samp",  
"\_id": "NwUwAWMB5KTKswR5Ozk2",  
"\_score": 1,  
"\_source": {  
"work": "cat sleeping "  
}  
}  
]  
}  
}  
this is my samp1 index  
when I m querying  
GET /samp1/\_search  
{  
"query": {  
"match": {  
"work": {  
"query": "cat dog",  
"minimum\_should\_match": "100%"  
}  
}

}  
}  
with and without stopword I m getting same answer

What to do to get stopword of "dog"?

---

<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:** [May 24, 2018, 9:06am UTC](https://discuss.elastic.co/t/stopwords-in-kibana/129620/2 "2018-05-24T09:06:20Z")

</div>

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