lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rkuris <swcafe+nab...@gmail.com>
Subject Re: shareSchema="true" - location of schema.xml?
Date Sat, 24 Sep 2011 18:01:13 GMT
I have 300 cores so I feel your pain :-)

What we do is use a relative path for the file.  It works if you use
../../common/schema.xml for each core, then just create a common directory
off your solr home and put your schema file there.

I found this works great with solrconfig.xml and all of it's dependencies as
well.

Another choice is to look at the sharedLib parameter, which adds some
directory to your classpath.  I played with this for a little bit and
couldn't get it working, so I went with the relative path solution.

--
View this message in context: http://lucene.472066.n3.nabble.com/shareSchema-true-location-of-schema-xml-tp3297392p3364809.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message