lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Walker <>
Subject Re: Upload/use a plugin JAR in ZooKeeper
Date Fri, 19 Jul 2019 01:19:52 GMT
On 16 Jul 2019, at 4:14 pm, Richard Walker <> wrote:
> ...
> To be specific, I'm trying to use this idea:
> "Resources and plugins may be stored:
> • in ZooKeeper under a collection’s configset node (SolrCloud only);"
> ...
> So far, so good. But now how do I refer to the JAR in solrconfig.xml?
> The user guide doesn't really say.
> ...
> No success at all; I only get a ClassNotFoundException
> for the plugin class.
> ...

I've now found this earlier thread:

in which the second message (from Shawn Heisey) says:

> I actually do not know what the path for lib directives is relative to
> when running SolrCloud.  Most things in a core config are relative to
> the location of the config file itself, but in this case, the config
> file is not on the filesystem at all, it's in zookeeper, and I don't
> think Solr can use jars in zookeeper.  

So is this the definitive answer? As I suggested in my
earlier message, the documentation in the user guide at
strongly suggests that you _can_ use plugin JARs uploaded
to a collection's znode.


View raw message