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

Shalin Shekhar Mangar commented on SOLR-4715:
---------------------------------------------

I had the same realization while trying to update flux (clojure solr client) 
for cloud features. How about a builder class/methods to avoid the explosion of 
constructor types? We can do something about this in 5.0

An example:
{code}
new 
CloudSolrServer.Builder().zkConnectString(zkHosts).httpClient(client).responseParser(parser).requestWriter(writer).defaultCollection(collection).build();
{code}

> CloudSolrServer does not provide support for setting underlying server 
> properties
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-4715
>                 URL: https://issues.apache.org/jira/browse/SOLR-4715
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.3
>            Reporter: Hardik Upadhyay
>            Assignee: Shawn Heisey
>              Labels: solr, solrj
>         Attachments: SOLR-4715-incomplete.patch, SOLR-4715-incomplete.patch
>
>
> CloudSolrServer (and LBHttpSolrServer) do not allow the user to set 
> underlying HttpSolrServer and HttpClient settings without arcane java 
> enchantments.



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