[ 
https://issues.apache.org/jira/browse/SOLR-10008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Erickson updated SOLR-10008:
----------------------------------
    Attachment: SOLR-10008.patch

Think of this as a feasibility study. All tests pass, but it does great 
violence to constructors for SolrCore and a CoreDescriptor.getCoreContainer 
thus breaks back-compat. It's evidence that this is possible, but are there 
better ways to access CoreContainer across the code?

Most of this patch is just removing the intermediate getCoreDescriptor() from 
core.getCoreDescriptor().getCoreContainer()....



> Move the reference to CoreContainer from CoreDescriptor to SolrCore.
> --------------------------------------------------------------------
>
>                 Key: SOLR-10008
>                 URL: https://issues.apache.org/jira/browse/SOLR-10008
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: trunk, 6.4
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>         Attachments: SOLR-10008.patch
>
>
> CoreDescriptor referencing CoreContainer is just weird. If anyplace, the 
> SolrCore should have a reference to CoreContainer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to