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

Anshum Gupta updated SOLR-6073:
-------------------------------
    Description: 
In the process also cleanup the following: The CollectionAdminRequest has a 
createCollection() method which has the following hard-coded:
{code}
req.setRouterName("implicit");
{code}

This is a bug and we should remove it.

  was:
Move CollectionAdminRequests to a builder design.

{code title:New design}
// New usage for Create collection
Create createCollectionRequest = new Create();
createCollectionRequest.setCollectionName(collectionName);
{code}

The CollectionAdminRequest has a createCollection() method which has the 
following hard-coded:
{code}
req.setRouterName("implicit");
{code}

This is a bug and we should remove it.


> CollectionAdminRequest has createCollection methods with hard-coded 
> router="implicit"
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-6073
>                 URL: https://issues.apache.org/jira/browse/SOLR-6073
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java, SolrCloud
>    Affects Versions: 4.8
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Anshum Gupta
>             Fix For: 5.0, 4.11
>
>         Attachments: SOLR-6073-4x.patch, SOLR-6073-4x.patch, SOLR-6073.patch, 
> SOLR-6073.patch
>
>
> In the process also cleanup the following: The CollectionAdminRequest has a 
> createCollection() method which has the following hard-coded:
> {code}
> req.setRouterName("implicit");
> {code}
> This is a bug and we should remove it.



--
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