Skip to content

Instantly share code, notes, and snippets.

@halilim
Last active December 26, 2015 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halilim/7101067 to your computer and use it in GitHub Desktop.
Save halilim/7101067 to your computer and use it in GitHub Desktop.
Symlinks data-config.xml, schema.xml and solrconfig.xml, copies db-connection.xml. This is for projects where Solr configs reside inside the main repo and the db parameters are specified using an external file.

Symlinks data-config.xml, schema.xml and solrconfig.xml, copies db-connection.xml. This is for projects where Solr configs reside inside the main repo and the db parameters are specified using an external file.

Example Usage

sh Link_solr_conf.sh /home/<someone>/local/src/project/solr/conf /var/lib/tomcat5/solr/<solr_core>/conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment