# Anaysis on stops words

**URL:** <https://discuss.elastic.co/t/anaysis-on-stops-words/16556>\
**Category:** Elasticsearch\
**Created:** [March 24, 2014, 8:48am UTC](https://discuss.elastic.co/t/anaysis-on-stops-words/16556 "2014-03-24T08:48:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![becks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/becks/32/1701_2.png) [@becks](https://discuss.elastic.co/u/becks)\
**Post date:** [March 24, 2014, 8:48am UTC](https://discuss.elastic.co/t/anaysis-on-stops-words/16556/1 "2014-03-24T08:48:14Z")

</div>

Hi,

I using sense in chrome to create an index to prevent stop words from indexing. I new to elastic search, the api seem to be everywhere. or probably i mislooked it. Any ideas how to i go about forming the JSON to create an stop analysis in an index.  
Found some links:  
Put /test/\_settings  
{  
"index": {  
"number\_of\_shards" : 3,  
"analysis": {  
"analyzer": {  
"english" : {  
"type":"english",  
"stopwords" : ["the", "stop1"]  
}  
}  
}  
}  
}  
It does not works. And the terms like "type" are not in the official documents [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html).  
I might miss out some JSON terms in it.

---

<div class="post-metadata">

**Author:** ![becks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/becks/32/1701_2.png) [@becks](https://discuss.elastic.co/u/becks)\
**Post date:** [March 26, 2014, 2:12am UTC](https://discuss.elastic.co/t/anaysis-on-stops-words/16556/2 "2014-03-26T02:12:09Z")

</div>

How to prevent stop words from searching. Should I prevent it from indexing? or before passing the query to search, I should remove those stop words?

---

<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, 1:40am UTC](https://discuss.elastic.co/t/anaysis-on-stops-words/16556/3 "2017-07-06T01:40:42Z")

</div>


