Skip to content

Commit

Permalink
Merge pull request #3497 from projectblacklight/no-solr-libs
Browse files Browse the repository at this point in the history
Use SOLR_MODULES envvar, rather than solrconfig <lib> entries for Solr 9.8 compatibility
  • Loading branch information
jcoyne authored Jan 24, 2025
2 parents 6d27db8 + 408ff41 commit 316e59c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ services:
environment:
- SOLR_PORT # Set via environment variable or use default defined in .env file
- SOLR_VERSION # Set via environment variable or use default defined in .env file
- SOLR_MODULES=analysis-extras
image: "solr:${SOLR_VERSION}"
volumes:
- $PWD/lib/generators/blacklight/templates/solr/conf:/opt/solr/conf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</updateLog>
</updateHandler>

<!-- solr lib dirs -->
<!-- solr lib dirs, which are needed for Solr 8 compatibility but ignored in solr 9.8 and above -->
<lib dir="${solr.install.dir:../../../..}/modules/analysis-extras/lib" />
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lib" />
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lucene-libs" />
Expand Down

0 comments on commit 316e59c

Please sign in to comment.