apache-solr8 (java/apache-solr8) Updated: 2 months ago Add to my watchlist

An open source enterprise search platform.

Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project.

Version: 8.11.3 License: Apache-2 GitHub
Maintainers essandess
Categories textproc java
Homepage https://solr.apache.org/
Platforms {darwin any}
Variants -

"apache-solr8" depends on

lib (1)
build (2)

Ports that depend on "apache-solr8"



Port notes

This port is configured with a launch daemon for solr. See the solr dashboard at http://localhost:8983.

See 'solr8 start -help' for help. solr8 sets these environment variables before calling bin/solr. These can be redefined, then calling `sudo -E -u solr solr8 start`.

export SOLR_HOME=${prefix}/var/solr
export SOLR_DATA_HOME=${prefix}/var/db/solr
export SOLR_LOGS_DIR=${prefix}/var/solr/logs
export SOLR_PID_DIR=${prefix}/var/run/solr
export SOLR_PORT=8983
export SOLR_HEAP=1g
export SOLR_LOG_PRESTART_ROTATION=true
export SOLR_ULIMIT_CHECKS=false

apache-solr8 is tested with the JDK provided in port openjdk11. Add these lines to your ~/.profile to set up your java environment and test with 'java -version':

# Java environment
if [ -x /usr/libexec/java_home ]; then
export JAVA_HOME=$(/usr/libexec/java_home)
export KEYTOOL="$JAVA_HOME"/jre/bin
fi A startup item has been generated that will aid in starting apache-solr8 with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup:

sudo port load apache-solr8


Port Health:

Loading Port Health

Installations (30 days)

8

Requested Installations (30 days)

2