Re: Setting up two cores in solr.xml for Solr 4.0

2012-09-05 Thread Chris Hostetter
: I don't think I changed by solrconfig.xml file from the default that : was provided in the example folder for solr 4.0. ok ... well the Solr 4.0-BETA example solrconfig.xml has this in it... ${solr.data.dir:} So if you want to override the dataDir using a "property" like your second exampl

Re: Setting up two cores in solr.xml for Solr 4.0

2012-09-05 Thread Paul
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 wrote: > > : > > I'm pretty sure what you hav above tells solr that core MYCORE_test it > should use the instanceDir MYCORE but

Re: Setting up two cores in solr.xml for Solr 4.0

2012-09-04 Thread veena rani
try the above code snippet , in solr.xml. But it works on Tomcat. On Wed, Sep 5, 2012 at 1:10 AM, Chris Hostetter wrote: > > : > > I'm pretty sure what you hav above tells solr that core MYCORE_test it > should use the instanceDir MYCORE but ignore the in that > solrconfig.xml a

Re: Setting up two cores in solr.xml for Solr 4.0

2012-09-04 Thread Chris Hostetter
: I'm pretty sure what you hav above tells solr that core MYCORE_test it should use the instanceDir MYCORE but ignore the in that solrconfig.xml and use the one you specified. This on the other hand... : > : > : > ...tells solr that the MYCORE_test SolrCore should use the in

Re: Setting up two cores in solr.xml for Solr 4.0

2012-09-04 Thread Mark Miller
Sounds weird. It's just parsing xml with an xml parser, so offhand, I don't see why that should matter. On Tue, Sep 4, 2012 at 3:09 PM, Paul wrote: > By trial an error, I found that you evidently need to put that > property inline, so this version works: > > > > > > > Is the documentation

Re: Setting up two cores in solr.xml for Solr 4.0

2012-09-04 Thread Paul
By trial an error, I found that you evidently need to put that property inline, so this version works: Is the documentation here in error? http://wiki.apache.org/solr/CoreAdmin On Tue, Sep 4, 2012 at 2:50 PM, Paul wrote: > I'm trying to set up two cores that share everything except thei