Since Solr 3.x there are a bunch of stemmers available (apart from SnowballFactory) that can be used as well. I added them to the schema generation configurable by the "Multingual settings" (admin/settings/apachesolr/confgen/multilingual)
Further I extended the stopwords lists for various languages.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2361393_logic_2.patch | 14.85 KB | mkalkbrenner |
| #3 | 2361393_logic.patch | 14.47 KB | mkalkbrenner |
| Bug_2209_confgen_multilingual-stemmers-stopwords.patch | 100.55 KB | gnindl |
Comments
Comment #3
mkalkbrennerI already committed the stopwords and created a new patch that only contains the logic.
I applied these modifications to the code:
Beside some more testing, these additional TODOs need to be implemented within function apachesolr_multilingual_get_stemming_filters():
Comment #4
mkalkbrennerThe logic removed the protected words from the default snowball stemmer. Here's a updated patch.
Comment #7
mkalkbrennerI already committed the patches to git. But the TODOs of #3 are still open and require additional work.
Comment #10
mkalkbrenner