- πΊπΈUnited States mikegodin
I was just encountering the
ICUCollationField
issue with Search API Solr 4.3.7 and Solr 9.8.0, and found the previous solutions did not work, but the following two solutions did work:1. Either add the following line to
/etc/default/solr.in.sh
:
$SOLR_OPTS -Dsolr.sharedLib=/opt/solr/modules/analysis-extras/lib"
2. Or copy the contents of:
/opt/solr/modules/analysis-extras/lib
to
/opt/solr/server/solr-webapp/webapp/WEB-INF/lib
Hi, I have encountered the same issue with Search API Solr 4.3.7 and Solr 9.8.0. I found the following at the Logging page of Solr config;
WARN false d8 SolrConfig Configset references one or more <lib/> directives,​ but <lib/> usage is disabled on this Solr node. Either remove all <lib/> tags from the relevant configset,​ or <strong>enable use of this feature by setting 'solr.config.lib.enabled=true'</strong>
I have taken another solution and it works.
sudo vi /etc/default/solr.in.shSOLR_OPTS="$SOLR_OPTS -Dsolr.config.lib.enabled=true"
Major Changes in Solr 9.8: https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html#solr-9-8
- π¨πSwitzerland znerol
For people running solr in containers: This can be fixed by supplying module configuration via the
SOLR_MODULES
environment variable.The following value loads all the modules referenced from solrconfig.xml currently shipped by Search API Solr module:
SOLR_MODULES=extraction,langid,ltr,analysis-extras