# Can I set reserved words not to be searched

**URL:** <https://discuss.elastic.co/t/can-i-set-reserved-words-not-to-be-searched/106321>\
**Category:** Elasticsearch\
**Created:** [November 3, 2017, 2:12pm UTC](https://discuss.elastic.co/t/can-i-set-reserved-words-not-to-be-searched/106321 "2017-11-03T14:12:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilpor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bilpor/32/24043_2.png) [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Post date:** [November 3, 2017, 2:12pm UTC](https://discuss.elastic.co/t/can-i-set-reserved-words-not-to-be-searched/106321/1 "2017-11-03T14:12:51Z")

</div>

HI,

I'm replacing Index Server with Elasticsearch. In Index server there are mechanisms in place such that certain words are ignored under certain search conditions as an example:

In Index Server if I search using 'as' nothing will be returned, but if I search for 'ash' it will be returned. Similarly words like 'the', "and" and 'at' are all ignored. and how would i differentiate between 'IT' as in 'the IT department' and the word 'it' which Index server also seems to handle nicely.

---

<div class="post-metadata">

**Author:** ![shanec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shanec/32/4004_2.png) [@shanec](https://discuss.elastic.co/u/shanec)\
**Post date:** [November 3, 2017, 2:38pm UTC](https://discuss.elastic.co/t/can-i-set-reserved-words-not-to-be-searched/106321/2 "2017-11-03T14:38:38Z")

</div>

Generally these "reserved words" are called "stop words." In elasticsearch, you can use the [stop token filter](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-stop-tokenfilter.html)

---

<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:** [December 1, 2017, 2:38pm UTC](https://discuss.elastic.co/t/can-i-set-reserved-words-not-to-be-searched/106321/3 "2017-12-01T14:38:43Z")

</div>

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