# Stop words still getting indexed after setting stop words at index level

**URL:** <https://discuss.elastic.co/t/stop-words-still-getting-indexed-after-setting-stop-words-at-index-level/23282>\
**Category:** Elasticsearch\
**Created:** [April 16, 2015, 3:51pm UTC](https://discuss.elastic.co/t/stop-words-still-getting-indexed-after-setting-stop-words-at-index-level/23282 "2015-04-16T15:51:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvnagaraju](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@bvnagaraju](https://discuss.elastic.co/u/bvnagaraju)\
**Post date:** [April 16, 2015, 3:51pm UTC](https://discuss.elastic.co/t/stop-words-still-getting-indexed-after-setting-stop-words-at-index-level/23282/1 "2015-04-16T15:51:04Z")

</div>

Hi ,

Am using stop words first time .

I am trying to configure stop words and want to see indexing process omits  
these stop words

can you let me know why stop words not getting omitted during indexing .

I still see "AND",  
"AN",  
"THE",  
"The" are still got indexed

The below is index creation request

{  
"settings": {  
"index": {  
"number\_of\_shards": 1,  
"number\_of\_replicas": 0,  
"analysis": {  
"analyzer": {  
"standard": {  
"type": "standard"  
},  
"english": {  
"stopwords": [  
"AND",  
"AN",  
"THE",  
"The",  
""  
],  
"type": "english"  
},  
"cjk": {  
"type": "cjk"  
},  
"french": {  
"type": "french"  
},  
"german": {  
"type": "german"  
},  
"italian": {  
"type": "italian"  
},  
"spanish": {  
"type": "spanish"  
},  
"russian": {  
"type": "russian"  
},  
"arabic": {  
"type": "arabic"  
}  
}  
}  
}  
},  
"aliases": {  
"1005": {}  
}  
}

and below is the index field mapping request

{  
"document": {  
"date\_detection": true,  
"numeric\_detection": true,  
"dynamic\_templates": [  
{  
"multi": {  
"match": "multi\__",  
"mapping": {  
"type": "multi\_field",  
"fields": {  
"{name}": {  
"index": "analyzed",  
"type": "{dynamic\_type}"  
},  
"{name}\_raw": {  
"index": "not\_analyzed",  
"type": "{dynamic\_type}"  
}  
}  
}  
}  
},  
{  
"number": {  
"match": "n0_",  
"mapping": {  
"index": "analyzed",  
"type": "{dynamic\_type}"  
}  
}  
}  
]  
}  
}

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7589412d-ca04-4c54-88b3-ffcdad48b337%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7589412d-ca04-4c54-88b3-ffcdad48b337%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:19am UTC](https://discuss.elastic.co/t/stop-words-still-getting-indexed-after-setting-stop-words-at-index-level/23282/2 "2017-07-06T00:19:15Z")

</div>


