islandora/solr

Sponsored OSS

By islandora

Updated 21 days ago

Provides indexing and search.

Image
Security
Content management system
Databases & storage
0

100K+

islandora/solr repository overview

Solr

Docker image for solr version 9.10.1.

Built from Islandora-DevOps/isle-buildkit solr

Please refer to the Solr Documentation for more in-depth information.

As a quick example this will bring up an instance of solr, and allow you to view on http://localhost:8983/solr/.

docker run --rm -ti -p 8983:8983 islandora/solr

Dependencies

Requires islandora/java Docker image to build. Please refer to the Java Image README for additional information including additional settings, volumes, ports, etc.

Settings

Environment VariableDefaultDescription
SOLR_JAVA_OPTSAdditional parameters to pass to the JVM when starting Solr
SOLR_JETTY_OPTS-Dsolr.jetty.host=0.0.0.0.Additional parameters to pass to Jetty when starting Solr.
SOLR_LOG_LEVELINFOLog level. Possible Values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE or ALL
SOLR_MEMORY512mSets the min (-Xms) and max (-Xmx) heap size for the JVM
SOLR_MODULESanalysis-extras,extraction,langid,ltrSolr modules to enable

Ports

PortDescription
8983HTTP

Volumes

PathDescription
/opt/solr/server/solrLocation of configuration and data for all cores

Solr 10 Readiness

The dbmdz/solr-ocrhighlighting plugin is shipped as a regular jar in /opt/solr/lib, not as a Solr module. This is intentional: SOLR_MODULES only supports built-in Solr modules, and Solr 10 removes the old <lib ... /> config path that was previously used for loading arbitrary jars.

If you set SOLR_MODULES, only include actual Solr module names such as extraction or ltr. Do not include ocrhighlighting.

Logs

Updating

You can change the version used for solr by modifying the build argument SOLR_VERSION and SOLR_FILE_SHA256 in the Dockerfile.

Change SOLR_VERSION and then generate the SOLR_FILE_SHA256 with the following commands:

SOLR_VERSION=$(cat solr/Dockerfile | grep -o 'SOLR_VERSION=.*' | cut -f2 -d=)
SOLR_FILE=$(cat solr/Dockerfile | grep -o 'SOLR_FILE=.*' | cut -f2 -d=)
SOLR_URL=$(cat solr/Dockerfile | grep -o 'SOLR_URL=.*' | cut -f2 -d=)
SOLR_FILE=$(eval "echo $SOLR_FILE")
SOLR_URL=$(eval "echo $SOLR_URL")
wget --quiet "${SOLR_URL}"
shasum -a 256 "${SOLR_FILE}" | cut -f1 -d' '
rm "${SOLR_FILE}"

Tag summary

Content type

Image

Digest

sha256:093d3ba8a

Size

957.1 MB

Last updated

21 days ago

docker pull islandora/solr:alpine-3-24

This week's pulls

Pulls:

826

Last week