Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.5 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.5 KB

Build Status

EHRI Solr Configuration & Tools

This project contains:

The test harness also provides for building a tar file containing the additional libraries Solr requires given our configuration (language detection, Polish stemming, etc). Currently these can not be automatically deployed.

Building:

To build both a standalone jar for the indexer tool, and the set of auxiliary Solr libraries, run:

mvn package

To build one or other of the modules, use -pl <module-name>, i.e:

mvn package -pl index-data-converter # will generate the jar indexer/target/index-data-converter-1.0.2-jar-with-dependencies.jar

or

mvn package -pl solr-config # will generate the tar solr-config/target/solr-config-1.0.2-solr-core.tar.gz

The fabfile.py handles some deployment tasks, viewable by running fab --list. These include:

    clean_deploy    Build a clean version and deploy.
    copy_solr_core  Copy the Solr lib, plus core config files to the server
    copy_to_server  Upload the indexer tool to its target directory.
    deploy          Deploy the indexer tool, copy the Solr config, set the permissions
    reload          Reload Solr config files by restarting the portal core.