The sub module apachesolr_multilingual_confgen generates multilingual versions of Solr config files, e. g. stopwords, compounswords, protwords etc.

When using Acquia Search, empty and duplicate files should be avoided. Further stemmer configuration in schema.xml should fall back to the default file, e. g.

<filter class="solr.SnowballPorterFilterFactory" language="Swedish" protected="protwords.txt"/>

instead of

<filter class="solr.SnowballPorterFilterFactory" language="Swedish" protected="protwords_sv.txt"/>

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gnindl’s picture

Issue summary: View changes
gnindl’s picture

Status: Active » Needs review
gnindl’s picture

Amended the initial patch:

- Property solr.replication.confFiles in solrcore.properties still contained empty and duplicate files => Generates now clean list
- Added empty compoundwords.txt file, as well as in solrcore.properties, otherwise (English) default values are not included
- Assume English as default language in config files, do not call language_default()