lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Lawson <>
Subject sharedLib node in solr.xml
Date Thu, 21 Jan 2016 18:13:47 GMT
 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
<> 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



*    <str name="sharedLib">${sharedLib:}</str>*
    <str name="host">${host:}</str>
    <int name="hostPort">${jetty.port:8983}</int>
    <str name="hostContext">${hostContext:solr}</str>

    <bool name="genericCoreNodeNames">${genericCoreNodeNames:true}</bool>

    <int name="zkClientTimeout">${zkClientTimeout:30000}</int>


  <shardHandlerFactory name="shardHandlerFactory"
    <int name="socketTimeout">${socketTimeout:600000}</int>
    <int name="connTimeout">${connTimeout:60000}</int>


But when I start up Solr, the log says:  Unknown configuration parameter in
<solrcloud> section of solr.xml: sharedLib

Then I read that I need a file to contain the sharedLib
variable.  If this is true, where should I place this file?  Where should I
place my shared library containing my plugins?  One other question:  in the
gettingstarted example, what directory is the instance directory?

Thanks for the help.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message