You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2013/05/07 00:54:15 UTC

[jira] [Commented] (SOLR-4790) When defining a core with the same name (discovery mode or not), CoreContainer should throw an error

    [ https://issues.apache.org/jira/browse/SOLR-4790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650202#comment-13650202 ] 

Mark Miller commented on SOLR-4790:
-----------------------------------

In this case, rather than a new back compat break, this is really an improvement. In the past, the only legit reason to do this was to reload a core - but now that's a broken way to reload - u must use the reload method. So failing is much better than what we do now IMO. 
                
> When defining a core with the same name (discovery mode or not), CoreContainer should throw an error
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4790
>                 URL: https://issues.apache.org/jira/browse/SOLR-4790
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.3, 5.0
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>         Attachments: SOLR-4790.patch
>
>
> When you define a core with the same name as another core (discovery mode definitely, old-style xml probably), last one wins. Which means it's very hard to track down what caused the problem.
> What's worse, the last-encountered core replaces the first one, leading to cores that change an unexpected index.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org