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 2010/11/09 19:37:08 UTC

[jira] Created: (SOLR-2225) CoreContainer#register should use checkDefault to normalize the core name

CoreContainer#register should use checkDefault to normalize the core name
-------------------------------------------------------------------------

                 Key: SOLR-2225
                 URL: https://issues.apache.org/jira/browse/SOLR-2225
             Project: Solr
          Issue Type: Bug
          Components: multicore
            Reporter: Mark Miller
            Assignee: Mark Miller
            Priority: Minor
             Fix For: 3.1, 4.0


fail case:

start with default collection set to collection1
remove core collection1
default collection on CoreContainer is still set to collection1
add core collection1
it doesn't act like the default core

we might do as the summary suggests, or when the default core is removed, we reset to no default core until one is again explicitly set

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (SOLR-2225) CoreContainer#register should use checkDefault to normalize the core name

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley updated SOLR-2225:
-------------------------------

    Fix Version/s:     (was: 4.0)
                       (was: 3.1)
                   Next

> CoreContainer#register should use checkDefault to normalize the core name
> -------------------------------------------------------------------------
>
>                 Key: SOLR-2225
>                 URL: https://issues.apache.org/jira/browse/SOLR-2225
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: Next
>
>
> fail case:
> start with default collection set to collection1
> remove core collection1
> default collection on CoreContainer is still set to collection1
> add core collection1
> it doesn't act like the default core
> we might do as the summary suggests, or when the default core is removed, we reset to no default core until one is again explicitly set

-- 
This message is automatically generated by JIRA.
-
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


[jira] Commented: (SOLR-2225) CoreContainer#register should use checkDefault to normalize the core name

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985469#action_12985469 ] 

Mark Miller commented on SOLR-2225:
-----------------------------------

I don't remember this at all - digging in though.

> CoreContainer#register should use checkDefault to normalize the core name
> -------------------------------------------------------------------------
>
>                 Key: SOLR-2225
>                 URL: https://issues.apache.org/jira/browse/SOLR-2225
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>
> fail case:
> start with default collection set to collection1
> remove core collection1
> default collection on CoreContainer is still set to collection1
> add core collection1
> it doesn't act like the default core
> we might do as the summary suggests, or when the default core is removed, we reset to no default core until one is again explicitly set

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (SOLR-2225) CoreContainer#register should use checkDefault to normalize the core name

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994066#comment-12994066 ] 

Robert Muir commented on SOLR-2225:
-----------------------------------

There isn't any patch here yet, can we move out to 3.2?

> CoreContainer#register should use checkDefault to normalize the core name
> -------------------------------------------------------------------------
>
>                 Key: SOLR-2225
>                 URL: https://issues.apache.org/jira/browse/SOLR-2225
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>
> fail case:
> start with default collection set to collection1
> remove core collection1
> default collection on CoreContainer is still set to collection1
> add core collection1
> it doesn't act like the default core
> we might do as the summary suggests, or when the default core is removed, we reset to no default core until one is again explicitly set

-- 
This message is automatically generated by JIRA.
-
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


[jira] [Updated] (SOLR-2225) CoreContainer#register should use checkDefault to normalize the core name

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-2225:
------------------------------

    Attachment: SOLR-2225.patch

Fix + test.

> CoreContainer#register should use checkDefault to normalize the core name
> -------------------------------------------------------------------------
>
>                 Key: SOLR-2225
>                 URL: https://issues.apache.org/jira/browse/SOLR-2225
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2225.patch
>
>
> fail case:
> start with default collection set to collection1
> remove core collection1
> default collection on CoreContainer is still set to collection1
> add core collection1
> it doesn't act like the default core
> we might do as the summary suggests, or when the default core is removed, we reset to no default core until one is again explicitly set

--
This message is automatically generated by JIRA.
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


[jira] [Updated] (SOLR-2225) CoreContainer#register should use checkDefault to normalize the core name

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-2225:
------------------------------

    Fix Version/s:     (was: Next)
                   4.0
                   3.2

> CoreContainer#register should use checkDefault to normalize the core name
> -------------------------------------------------------------------------
>
>                 Key: SOLR-2225
>                 URL: https://issues.apache.org/jira/browse/SOLR-2225
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>
> fail case:
> start with default collection set to collection1
> remove core collection1
> default collection on CoreContainer is still set to collection1
> add core collection1
> it doesn't act like the default core
> we might do as the summary suggests, or when the default core is removed, we reset to no default core until one is again explicitly set

--
This message is automatically generated by JIRA.
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