# How to ignore stop words

**URL:** <https://discuss.elastic.co/t/how-to-ignore-stop-words/60527>\
**Category:** Elasticsearch\
**Created:** [September 14, 2016, 3:50pm UTC](https://discuss.elastic.co/t/how-to-ignore-stop-words/60527 "2016-09-14T15:50:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kallem\_Prathyusha](https://avatars.discourse-cdn.com/v4/letter/k/258eb7/32.png) [@Kallem\_Prathyusha](https://discuss.elastic.co/u/Kallem_Prathyusha)\
**Post date:** [September 14, 2016, 3:50pm UTC](https://discuss.elastic.co/t/how-to-ignore-stop-words/60527/1 "2016-09-14T15:50:14Z")

</div>

Hi,I am using NEST 1.7.1 and ES 1.7.5  
I have this Author Name field against each document and mapping for this field looks like this:  
`"authorName": { "type": "string", "fields": { "exact": { "type": "string", "index": "not_analyzed" }, "exact_lowercase": { "type": "string", "analyzer": "text_exact_no_splitting" } } }`  
Analyzer:  
`"text_exact_no_splitting":{ "type":"custom", "tokenizer":"keyword", "filter":"lowercase" }`  
And I have boost value for this field along with other fields:  
`qs.OnFields(new[] { "title", "title.stemmed", "summaryWithoutHtml^0.75", "summaryWithoutHtml.stemmed^0.75", "bodyWithoutHtml^0.5", "bodyWithoutHtml.stemmed^0.5", "authorName^0.1" });`

When i search for any stop word,all the above fields ignore the stop word except authorName as i am not using `type:english`.I don't want to change the analyzer type of that field because authorNames might contain stop words and i don't want to ignore them but when i search for a stop word against all the above fields together ,stop word should be ignored and shouldn't return any results. Can anyone please help?

---

<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:20pm UTC](https://discuss.elastic.co/t/how-to-ignore-stop-words/60527/2 "2017-07-05T22:20:14Z")

</div>


