# Exclude specific words from Custom Analyzer

**URL:** <https://discuss.elastic.co/t/exclude-specific-words-from-custom-analyzer/172566>\
**Category:** Elasticsearch\
**Created:** [March 15, 2019, 4:17pm UTC](https://discuss.elastic.co/t/exclude-specific-words-from-custom-analyzer/172566 "2019-03-15T16:17:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iluvcode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iluvcode/32/24929_2.png) [@iluvcode](https://discuss.elastic.co/u/iluvcode)\
**Post date:** [March 15, 2019, 4:17pm UTC](https://discuss.elastic.co/t/exclude-specific-words-from-custom-analyzer/172566/1 "2019-03-15T16:17:33Z")

</div>

Hi,

I am using a custom analyzer that is using "Keyword" tokenizer and "Snowball + lowercase" filter.  
Snowball is the stemming analyzer which stems the words.  
I have few specific words that shouldn't be stemmed while indexing the records. So how i can exclude specific words from custom analyzer?

Thanks.

---

<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:** [April 12, 2019, 4:17pm UTC](https://discuss.elastic.co/t/exclude-specific-words-from-custom-analyzer/172566/2 "2019-04-12T16:17:43Z")

</div>

Closed on April 12, 2019, 4:17pm UTC

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