luceneelasticsearchstemmingsnowball

Use multiple stemming languages with ElasticSearch


I'm building a search engine for a website where users can be of many different countries and post text content.

I'll consider that: - A french generates content in french and english - A german generates content in german and english etc...

What i'd like to know if it is possible to make a search using different snowball stemmer langages in the same time, so that we have appropriate results in the same time.

Do we have to create one index per snowball stemmer langage?

Is there a known pattern for such a case?

Thanks


Solution

  • This new ElasticSearch plugin works fine:

    https://github.com/yakaz/elasticsearch-analysis-combo