/jelly-solr

Primary LanguageXSLT

Latest Jelly Solr version : 1.18.0

Example jettyctl config:

PORT=10340
REPO=git@github.com:nla/jelly-solr.git
ROOT_URL_PREFIX=/solr

JAVA_OPTS=-server -Xms512m -Xmx2048m -XX:NewRatio=3 -XX:SurvivorRatio=4 \
    -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8 -XX:+UseConcMarkSweepGC \
    -XX:+UseParNewGC -XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 \
    -XX:+CMSScavengeBeforeRemark -XX:PretenureSizeThreshold=64m \
    -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=50 \
    -XX:CMSMaxAbortablePrecleanTime=6000 -XX:+CMSParallelRemarkEnabled \
    -XX:+ParallelRefProcEnabled -Dsolr.solr.home=/jetty-app-deploy-location/WEB-INF/solr 
    -Dsolr.data.dir=/somplace/somewhere -Djetty.port=10340 
    -Dsolr.install.dir=/jetty-app-deploy-location

Local deployment

  1. Run the shell script local-deploy.sh one time only (it takes a little time), to prepare for running these indexes locally on a Mac.

  2. To run: mvn jetty:run-forked -Dhost=.nla.gov.au -Djetty.port=9999

Note: Requires java 8