Hi,
I'm using Solr 1.4.1 and trying to share a schema among two cores.
Here is what I did :
solr.xml :
solr persistent=false
cores adminPath=/admin/cores defaultCoreName=prod
shareSchema=true
core name=prod instanceDir=prod
schemaconf/schema.xml/schema
/core
Ok I found the solution:
First of all schema is an attribute of the core tag so it becomes:
core name=prod instanceDir=prod schema=conf/schema.xml/
Also make sure the conf directory in your classpath or relative to the path
from where you are launching solr.
It is NOT relative to solr.xml path.