Oups sorry about that, since it was referring context I thought it was the 
Tomcat one.

Here is the /home/solradm1/solr.xml file (comments removed!)

<?xml version="1.0" encoding="UTF-8" ?>
<solr persistent="true">
    <cores adminPath="/admin/cores" defaultCoreName="WebOrder_Collection" 
host="${host:}" hostPort="8180" hostContext="${hostContext:}" 
zkClientTimeout="${zkClientTimeout:15000}">
        <core name="WebOrder_Collection" instanceDir="WebOrder_Collection">
            <property name="solr.data.dir" 
value="/home/solradm1/WebOrder_Collection/data" />
            <property name="solr.ulog.dir" 
value="/home/solradm1/WebOrder_Collection/ulog" />
        </core>
    </cores>
</solr>



Note: I configure solr.data.dir and solr.ulog.dir so I can run two instances on 
the same system and separate the data and ulog directories between the 
instances.

Nic.




________________________________
 From: Shawn Heisey <s...@elyograg.org>
To: solr-user@lucene.apache.org 
Sent: Thursday, May 16, 2013 3:29:41 PM
Subject: Re: Migrating from 4.2.1 to 4.3.0
 

On 5/16/2013 12:37 PM, M. Flatterie wrote:
> Afternoon, my solr.xml file is the following (and has not changed from 4.2.1 
> to 4.3.0):
>
>          <Context path="/solr" 
>docBase="/home/tcatadm1/apache-tomcat-7.0.39/webapps/solr.war" debug="0" 
>crossContext="true">
>              <Environment name="solr/home" type="java.lang.String" 
>value="/home/solradm1" override="true"/>
>          </Context>

That is not the solr.xml Mark is referring to.  This solr.xml configures 
tomcat to load Solr.  You will have /home/solradm1/solr.xml as well, 
that is the one we are concerned with.

Thanks,
Shawn

Reply via email to