I don't think I changed by solrconfig.xml file from the default that
was provided in the example folder for solr 4.0.

On Tue, Sep 4, 2012 at 3:40 PM, Chris Hostetter
<hossman_luc...@fucit.org> wrote:
>
> :   <core name="MYCORE_test" instanceDir="MYCORE" dataDir="MYCORE_test" />
>
> I'm pretty sure what you hav above tells solr that core MYCORE_test it
> should use the instanceDir MYCORE but ignore the <dataDir/> in that
> solrconfig.xml and use the one you specified.
>
> This on the other hand...
>
> : >   <core name="MYCORE_test" instanceDir="MYCORE">
> : >     <property name="dataDir" value="MYCORE_test" />
> : >    </core>
>
> ...tells solr that the MYCORE_test SolrCore should use the instanceDir
> MYCORE, and when parsing that solrconfig.xml file it should set the
> variable ${dataDir} to be "MYCORE_test" -- but if your solconfig.xml file
> does not ever refer to the  ${dataDir} variable, it would have any effect.
>
> so the question becomes -- what does your solrconfig.xml look like?
>
>
> -Hoss

Reply via email to