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

Stefan Matheis (steffkes) commented on SOLR-2605:
-------------------------------------------------

Not sure, where it comes from .. the {{clusterstate.json}} file looks like 
this, using the patch:

{code}{"collection1":{"shard1":{
      "debian2:8983_solr_":{
        "shard":"shard1",
        "state":"active",
        "core":"",
        "collection":"collection1",
        "node_name":"debian2:8983_solr",
        "base_url":"http://debian2:8983/solr"},
      "debian2:8983_solr_collection1":{
        "shard":"shard1",
        "leader":"true",
        "state":"active",
        "core":"collection1",
        "collection":"collection1",
        "node_name":"debian2:8983_solr",
        "base_url":"http://debian2:8983/solr"}}}}{code}

Started with {{-DzkRun -Dcollection.configName=myconf 
-Dbootstrap_confdir=./solr/conf -Dsolr.environment=dev -Duser.timezone=UTC 
-DhostPort=8983 -Djetty.port=8983}}
                
> CoreAdminHandler, different Output while 'defaultCoreName' is specified
> -----------------------------------------------------------------------
>
>                 Key: SOLR-2605
>                 URL: https://issues.apache.org/jira/browse/SOLR-2605
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>            Reporter: Stefan Matheis (steffkes)
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2399-admin-cores-default.xml, 
> SOLR-2399-admin-cores.xml, SOLR-2605.patch, SOLR-2605.patch
>
>
> The attached XML-Files show the little difference between a defined 
> {{defaultCoreName}}-Attribute and a non existing one.
> Actually the new admin ui checks for an core with empty name to set single- / 
> multicore-settings .. it's a quick change to count the number of defined 
> cores instead.
> But, will it be possible, to get the core-name (again)? One of both 
> attributes would be enough, if that makes a difference :)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to