How do I tell solr where my document collection is? -
my sysadmin installed solr here: /software/packages/solr-4.3.1/
followed tutorial (using jetty) successfully. have working installation , things work expected. also, using solarium, can query example/collection1 document set website.
now want create own document set live outsite of /software/packages/solr-4.3.1/
still use instance of solr lives in /software/packages/solr-4.3.1/
. copied on example directory /path/to/mydocs
. tried go through tutorial again new location. no dice. how tell solr document collection is?
assuming you're running in multicore
mode (where single solr service can host multiple cores/indexes), assume you'd use solr.xml
file store relative instancedir
path.
so <core>
element like:
<core name="mycore" instancedir="/path/to/mydocs" />
this place data , config files in specified directory
Comments
Post a Comment