awhitworth
awhitworth

Reputation: 93

ElasticSearch stemming with protected words

I'm using ElasticSearch (via Ruby, Tire) for a search feature on an ecommerce clothing website. I need a stemming filter, BUT I also need to be able to specify a list of protected words which do not get stemmed. Currently I'm using the snowball filter for the stemming, but I can't figure out if it's possible to specify protected words. I've also looked at some other stemming filters:

My question is this: Is there a way to achieve these goals with snowball (and if so, how?) or do I need to switch to one of the other stemming filters?

Upvotes: 0

Views: 1322

Answers (1)

Related Questions