Hmmm, not really, you have to kind of take it on faith I'm afraid. You can check the Solr logs and you should see messages about cores unloading, but that's not very satisfactory.
Actually sounds like a JIRA. See SOLR-5430 On Thu, Nov 7, 2013 at 12:43 PM, Vinay B, <vybe3...@gmail.com> wrote: > As I understand it, the "lots of cores" features enables dynamic loading > and unloading of cores > This is how I set up my solr.xml for a test where I created more cores than > the transientCacheSize. > > Here is a link to the config in case it doesn't format well via this post. > https://gist.github.com/anonymous/7358674 > > Question: How do I know this feature is working i.e. is there something I > should watch for on the web container log, etc ? When I inspect the solr > admin GUI, I can see all the cores I created. > > > Thanks, > VIn > > > > > > > > solr.xml > > <?xml version="1.0" encoding="UTF-8" ?> > <solr persistent="true" sharedLib="lib"> > <cores adminPath="/admin/cores" transientCacheSize="3" > > <core name="mycore_0001" loadOnStartup="false" instanceDir="cores" > transient="true" dataDir="mycore_0001"/> > > <core name="mycore_7430341611573840011" loadOnStartup="false" > instanceDir="cores" transient="true" dataDir="mycore_7430341611573840011"/> > > <core name="mycore_7697631832332862479" loadOnStartup="false" > instanceDir="cores" transient="true" dataDir="mycore_7697631832332862479"/> > > <core name="mycore_7791568344662376737" loadOnStartup="false" > instanceDir="cores" transient="true" dataDir="mycore_7791568344662376737"/> > > <core name="mycore_8169706828529363612" loadOnStartup="false" > instanceDir="cores" transient="true" dataDir="mycore_8169706828529363612"/> > > <core name="dummy" loadOnStartup="true" instanceDir="cores/" > schema="schema.xml" transient="false" dataDir="dummy"/> > </cores> > </solr> >