They _should_ be just the same. The new solr.xml format just works
by moving the individual <core> tags and putting the properties
in individual core.properties, and removing the <cores> tag completely.
So the "global" properties you refer to should be unaffected. But I haven't
verified this personally.

FWIW,
Erick


On Fri, Oct 25, 2013 at 7:30 AM, marotosg <marot...@gmail.com> wrote:

> Hi,
> I am migrating Solr 4.4 to Solr 4.5 and I have an issue in Solr.xml.
>
> I my old Solr.xml I had some properties I am reusing for all my cores.
> Furthemore I have some properties related to each individual core.
>
> <solr>
>     <property name="lucene.version" value="LUCENE_40"/>
>     <property name="store.fields" value="true"/>
>  <cores adminPath="/admin/cores">
>         <core name="person" instanceDir="person">
>                 <property name="solr.data.dir"
> value="/var/lib/solrdata/persondata"/>
>                 <property name="poll.interval" value="00:00:05"/>
>         </core>
>         <core name="person" instanceDir="company">
>                 <property name="solr.data.dir"
> value="/var/lib/solrdata/companydata"/>
>                 <property name="poll.interval" value="00:00:60"/>
>         </core>
> </cores>
> </solr>
>
> wirh new Solr.xml format in Solr 4.5. I can introduce core related
> properties in core.properties file
> but I can't find anywhere how I can set up global properties like
> <property name="lucene.version" value="LUCENE_40"/>
>
> Regards,
> Sergio
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Global-User-defined-properties-solr-xml-from-Solr-4-4-to-Solr-4-5-tp4097740.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to