[
https://issues.apache.org/jira/browse/SOLR-14195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ishan Chattopadhyaya resolved SOLR-14195.
-----------------------------------------
Resolution: Won't Fix
We can discuss these issues on the dev@ list.
> Do not deprecate withZkHost methods
> -----------------------------------
>
> Key: SOLR-14195
> URL: https://issues.apache.org/jira/browse/SOLR-14195
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 8.4
> Reporter: Kundan
> Priority: Major
>
> As Builder class has got below 2 constructors
> {code:java}
> public Builder(List<String> zkHosts, Optional<String> zkChroot) {
> this.zkHosts = zkHosts;
> if (zkChroot.isPresent()) this.zkChroot = zkChroot.get();
> }{code}
> and
> {code:java}
> public Builder(List<String> solrUrls) {
> this.solrUrls = solrUrls;
> }{code}
> So when I like to connect only with *Zookeper* I can not because first
> constructor has got zkchroot as optional, hence it shall invoke second
> constructor.
> It shall be impossible when below deprecated methods shall get remove.
> {code:java}
> public Builder withZkHost(Collection<String> zkHosts){code}
> or
> {code:java}
> public Builder withZkHost(String zkHost) {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]