If you navigate to the multilingual config page at
admin/config/search/apachesolr/confgen/multilingual
under Stemmer -> STEMMER LANGUAGE, the default value always says (No stemming) regardless of what the actual value is. This error occurs when you first navigate to the page, and the first language under "...select the desired Language" is highlighted, but none of the language links have been select. Once any of the languages have been specifically clicked, this problem goes aways.
This error appears to be a result of using variable_realm_params('language') to get the default values of the language. When it is on the default language, there is no parameter "variable_realm_key_language=...", so the language is not determined and hence the default value cannot be obtained.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | apachesolr_multilingual-stemmer_language_form_fix-1971244-1.patch | 740 bytes | jongagne |
Comments
Comment #1
jongagne commentedThere are probably many ways to solve this issue. Here is one solution and the associated patch
Comment #2
jongagne commentedComment #3
mkalkbrennerYou're right. But your patch does not solve the issue correctly. The default is the current language.
I committed that one:
http://drupalcode.org/project/apachesolr_multilingual.git/commit/36954be