lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Multicore and SolrResourceLoader
Date Mon, 12 May 2008 14:28:52 GMT

On May 10, 2008, at 1:03 PM, Chris Hostetter wrote:

>
> : I've been digging around in multicore and I am curious as to how  
> to force a
> : reload of the sharedLib classloader.  I can reload a given core,  
> which
> : instantiates a new SolrResourceLoader for that core, but I want to  
> be able to
> : reload the classloader for the sharedLib.
>
> that seems really dangerous to me ... you could wind up changing class
> impls out from under a core ... which could give you serious
> incompatibilities.
>
>
> The only safe way i can imagine doing this would be if we add a way to
> compeltely reinitialize the MultiCore (which would reload all the
> SolrCores)
>


That makes sense.  I'm pretty sure in my scenario that I would want  
all cores to have access to the new library, so I guess it does make  
sense to re-instantiate the Multicore.

Mime
View raw message