Here is Finnish default config for text field, copied from Dutch and altered to Finnish. Seems to work quite well but Snowball filter may not work perfectly for Finnish stemming.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2821698-6_finnish_default_config.patch | 97.04 KB | merilainen |
| #5 | 2821698-5_finnish_default_config.patch | 8.33 KB | merilainen |
| #3 | 2821698-3_finnish_default_config.patch | 8.55 KB | merilainen |
| #2 | 2821698_finnish_default_config.patch | 8.44 KB | merilainen |
Comments
Comment #2
merilainen commentedComment #3
merilainen commentedHere is an updated patch with Edge NGram filter for better compound word matching.
Comment #4
mkalkbrennerThanks for this great start! I wish others would do the same for other languages :-)
Here are some quick notes
I think there's an error in the char mapping. At least "ä" should be preserved and not be normalized to "a".
I don't know if Finish has compound words like German, but the nouns list must not be empty if you keep this filter.
Comment #5
merilainen commentedI fixed the accents. I know the compound word filter requires a dictionary file, but NL didn't have any either and it won't break Solr. Edge NGram helps a little bit with the compound words, but it won't find them in the middle of the word. Anyway, here is the config without compound word filter. Maybe I will provide a better one if I come up with a better solution.
Comment #6
merilainen commentedCompound filter made a comeback, here with the list of nouns.
Comment #8
mkalkbrennerI applied some changes on commit. Thanks for your contribution!
Comment #9
kekkisI wonder, why has this been committed if it's still "Needs review"? Methinks the correct status would be "Fixed".
Comment #10
mkalkbrenneryep, you're right. thanks