Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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"/>
Comment | File | Size | Author |
---|---|---|---|
#3 | apachesolr_multilingual-empty-duplicate-files-v2.patch | 16.87 KB | gnindl |
apachesolr_multilingual-empty-duplicate-files.patch | 15.32 KB | gnindl | |
Comments
Comment #1
gnindl CreditAttribution: gnindl commentedComment #2
gnindl CreditAttribution: gnindl commentedComment #3
gnindl CreditAttribution: gnindl commentedAmended 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()