On 1/21/2016 11:13 AM, Bob Lawson wrote:
>  I am working with the gettingstarted example from the Solr Quick Start
> guide.  I developed a couple of Solr plugins and I want to tell Solr where
> to find them, and I'm following this
> <https://wiki.apache.org/solr/SolrPlugins> guide to do it. For a single
> core it was easy, I just put them in a lib directory under the instance
> directory.  But now I am trying it with multiple cores.  In
> /solr-5.4.0/server/solr, I updated the solr.xml file with sharedLib as
> follows:
>
> <solr>
>
>   <solrcloud>
>
> *    <str name="sharedLib">${sharedLib:}</str>*
<snip>
> But when I start up Solr, the log says:  Unknown configuration parameter in
> <solrcloud> section of solr.xml: sharedLib

The sharedLib parameter is not for SolrCloud, it is for Solr in
general.  Put it in the <solr> section, not the <solrcloud> section.

If you are going to use the default location (which is $SOLRHOME/lib ...
$SOLRHOME is where solr.xml lives), then you do not need to include the
sharedLib configuration at all.

Thanks,
Shawn

Reply via email to