Lyubov Romanchuk created SOLR-4850:
--------------------------------------

             Summary: Cores defined as loadOnStartup="true" and 
transient="true" can't be queried 
                 Key: SOLR-4850
                 URL: https://issues.apache.org/jira/browse/SOLR-4850
             Project: Solr
          Issue Type: Bug
          Components: multicore
    Affects Versions: 4.3, 4.2.1
            Reporter: Lyubov Romanchuk


It seems like in order to query transient cores they must be defined with
loadOnStartup="false".

I define one core loadOnStartup="true" and transient="false", and another
cores to be  loadOnStartup="true" and transient="true", and
transientCacheSize is default (=Integer.MAX_VALUE).

In this case CoreContainer.dynamicDescriptors will be empty and then
CoreContainer.getCoreFromAnyList(String) and CoreContainer.getCore(String)
returns null for all transient cores.

As a result such cores (loadOnStartup="true" and transient="true") can't be 
queried at all (neither from Query nor from Overview). 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to