You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Vincenzo D'Amore <v....@gmail.com> on 2020/08/04 10:12:59 UTC

solr classloader and cores

Hi all,

I know that Solr allows loading classes by defining the <lib/> directive
into the solrconfig.xml.
What it's not clear is if there is a separate (private?) classloader for
each core.
Is this correct?

Best regards,
Vincenzo


-- 
Vincenzo D'Amore

Re: solr classloader and cores

Posted by Vincenzo D'Amore <v....@gmail.com>.
Hi all,

sorry for not being clear in the first instance.
What I'm trying to say is, what happens when a core loads a library,
are the classes present in the library even available for other cores? I
think no.
But if there is some sort of encapsulation this should be clear in the
documentation.
In this way one can deploy different versions of a plugin/extension for
each core without being worried of collisions.


On Tue, Aug 4, 2020 at 12:12 PM Vincenzo D'Amore <v....@gmail.com> wrote:

> Hi all,
>
> I know that Solr allows loading classes by defining the <lib/> directive
> into the solrconfig.xml.
> What it's not clear is if there is a separate (private?) classloader for
> each core.
> Is this correct?
>
> Best regards,
> Vincenzo
>
>
> --
> Vincenzo D'Amore
>
>

-- 
Vincenzo D'Amore