On 4/16/2013 4:48 PM, Shawn Heisey wrote:
Here's an excerpt from my solr.xml:
<core name="s0live" instanceDir="/index/solr/cores/s0_1/"
dataDir="/index/solr/data/s0_1"/>
<core name="s0build" instanceDir="cores/s0_0/"
dataDir="../../data/s0_0"/>
Sorry about the incomplete edit there. My solr.xml from 4.x uses
relative paths, but my 3.5 setup still has absolute paths. I was trying
to make the 3.5 excerpt have relative paths before I sent it, but I only
edited one of the lines. Here's the 4.2.1 excerpt, unedited:
<core loadOnStartup="true" instanceDir="cores/s0_1/"
transient="false" name="s0live" dataDir="../../data/s0_1"/>
<core loadOnStartup="true" instanceDir="cores/s0_0/"
transient="false" name="s0build" dataDir="../../data/s0_0"/>
The loadOnStartup and transient parameters are automatically added when
solr.xml gets updated by later Solr versions.
Thanks,
Shawn