mirror of
https://github.com/apache/lucene.git
synced 2025-02-10 12:05:36 +00:00
971bd26df6
CloudSolrClient.Builder can be pointed at a Solr cluster in two ways: a ZK connection string, or one or more Solr base URLs. One of these two values must be provided to create a working CloudSolrClient. Since these values are required, this commit introduces two new ctors, one for each means of CloudSolrClient setup. It deprecates the existing no-arg CloudSolrClient ctor. Together, these changes make it clearer to our users that these options are required (and mutually exclusive).