When using Solr 1.4 in multicore configuration:

<solr persistent="true" sharedLib="lib>
        <cores adminPath="/admin/cores" sharedSchema="false">
                <core name="core0" instanceDir="/opt/multicore" 
dataDir="/opt/core0" schemaName="schema-core0.xml" />
                <core name="core1" instanceDir="/opt/multicore" 
dataDir="/opt/core1" schemaName="schema-core1.xml" />
        </cores>
</solr>

I get a runtime error:

SEVERE: java.lang.RuntimeException: Can't find resource 'schema.xml' in 
classpath or '/opt/multicore/conf/', cwd=/root
        at 
org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:260)
        at 
org.apache.solr.core.SolrResourceLoader.openSchema(SolrResourceLoader.java:220)
        at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:94)
        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:426)
....

Anyone, see what I might be doing wrong?   The schema files are in the conf 
directory.  If I copy one of the schema-core0.xml file to schema.xml then it 
works fine.

Thanks
RJ


Reply via email to