Exclude specific words from Custom Analyzer

(iluvcode) #1


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?