Skip to content

Commit

Permalink
Issue #3508084: Breaking change in Solr 9.8: solr.config.lib.enabled (#…
Browse files Browse the repository at this point in the history
…105)

* Add SOLR_MODULES env var to example

* Disable <lib/> directives and add hint how to configure
  • Loading branch information
das-peter authored Feb 21, 2025
1 parent cbbda6b commit 2149774
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion jump-start/solr9/config-set/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,20 @@
startup parameter to define the modules to load globally. For more info
see https://solr.apache.org/guide/solr/latest/configuration-guide/solr-modules.html
-->
<!-- <lib/> directives are deprecated and will be removed in Solr 10.0.
Please set the environment varibale: SOLR_MODULES="extraction,langid,ltr,analysis-extras"
-->
<!--
<lib dir="${solr.install.dir:../../../..}/modules/extraction/lib" regex=".*\.jar" />
<lib dir="${solr.install.dir:../../../..}/modules/langid/lib/" regex=".*\.jar" />
<lib dir="${solr.install.dir:../../../..}/modules/ltr/lib/" regex=".*\.jar" />
<lib dir="${solr.install.dir:../../../..}/modules/analysis-extras/lib/" regex=".*\.jar" />

-->

<!-- an exact 'path' can be used instead of a 'dir' to specify a
specific jar file. This will cause a serious error to be logged
if it can't be loaded.
Expand Down
2 changes: 2 additions & 0 deletions jump-start/solr9/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ services:
- "8983:8983"
volumes:
- ./cloud-config-set:/opt/solr/server/solr/configsets/drupal/conf
environment:
SOLR_MODULES: "extraction,langid,ltr,analysis-extras"
command: bash -c "docker-entrypoint.sh solr start -c; solr create -c drupal -d server/solr/configsets/drupal/conf -n drupal; solr restart -c -f"

0 comments on commit 2149774

Please sign in to comment.