Hello Ralf,
I believe you want to do something like:
<solr persistent="true" sharedLib="lib">
<cores adminPath="/admin/cores">
<core name="core0" instanceDir="core0">
<property name="dataDir" value="/data/core0" />
</core>
<core name="core1" instanceDir="core1" />
</cores>
</solr>
Cheers,
Giovanni
On 3/19/09, Kraus, Ralf | pixelhouse GmbH <[email protected]> wrote:
>
> Giovanni De Stefano schrieb:
>
>> Guten Tag Ralf,
>>
>> try to look here: http://wiki.apache.org/solr/CoreAdmin
>>
>> It says: "You can also specify properties in solr.xml which can be used in
>> the solrconfig.xml and schema.xml files." I believe this might help.
>>
>>
> thx !!
>
> I tried this :
>
> (My solr.xml :)
>
> <solr persistent="true" sharedLib="lib">
> <config>
> <updateHandler class="solr.DirectUpdateHandler2" />
> etc. . . . .
> </config>
>
> <cores adminPath="/admin/cores">
>
> <core name="core_uk" instanceDir="core_uk">
>
> <config>
> <dataDir>/xxxx/xxxxx/xxxxx</dataDir>
>
> </config>
>
> </core>
>
> </cores>
>
> </solr>
>
> Doesnt seem to work :-(
>
> Greets -Ralf-
>