Skip to content

Instantly share code, notes, and snippets.

@benson-basis
Created February 10, 2015 01:48
Show Gist options
  • Save benson-basis/74ab34006a55012e50e7 to your computer and use it in GitHub Desktop.
Save benson-basis/74ab34006a55012e50e7 to your computer and use it in GitHub Desktop.
config to launch solr+rni
# An Empty File. Otherwise, Solr fails to discover.
<?xml version="1.0" encoding="UTF-8" ?>
<solr>
<!--
we should put the jar file with the Native classes in a sharedLib to allow core reloads.
-->
</solr>
bt_root=/data/root_7.12.0_7.12.1
libdir=$bt_root/rlp/lib/amd64-glibc25-gcc41
echo bt_root: $bt_root
echo libdir: $libdir
/data/solr-4.10.3/bin/solr start -s $PWD/solr_home -a "-Djava.library.path=$libdir -Dbt.root=$bt_root" "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment