You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Erick Erickson <er...@gmail.com> on 2011/09/01 01:31:34 UTC

Re: shareSchema="true" - location of schema.xml?

Would it work to just (relative) path the schema
file for your cores with the "schema" parameter?

Best
Erick

2011/8/31 François Schiettecatte <fs...@gmail.com>:
> Satish
>
> You don't say which platform you are on but have you tried links (with ln on linux/unix) ?
>
> François
>
> On Aug 31, 2011, at 12:25 AM, Satish Talim wrote:
>
>> I have 1000's of cores and to reduce the cost of loading unloading
>> schema.xml, I have my solr.xml as mentioned here -
>> http://wiki.apache.org/solr/CoreAdmin
>> namely:
>>
>> <solr>
>>  <cores adminPath="/admin/cores" shareSchema="true">
>>    ...
>>  </cores>
>> </solr>
>>
>> However, I am not sure where to keep the common schema.xml file? In which
>> case, do I need the schema.xml in the conf folder of each and every core?
>>
>> My folder structure is:
>>
>>     multicore (contains solr.xml)
>>        |_ core0
>>             |_ conf
>>             |    |_ schema.xml
>>             |    |_ solrconfig.xml
>>             |    |_ other files
>>           core1
>>             |_ conf
>>             |    |_ schema.xml
>>             |    |_ solrconfig.xml
>>             |    |_ other files
>>             |
>>           exampledocs (contains 1000's of .csv files and post.jar)
>>
>> Satish
>
>