lucidworks / spark-solr

Tools for reading data from Solr as a Spark RDD and indexing objects from Spark into Solr using SolrJ.
Apache License 2.0
445 stars 250 forks source link

replace deprecated API use in TestSolrCloudClusterSupport #310

Closed cpoerschke closed 3 years ago

cpoerschke commented 3 years ago

The CloudSolrClient.Builder() and CloudSolrClient.Builder.withZkHost(String) APIs are deprecated as per the https://solr.apache.org/docs/8_4_1/solr-solrj/org/apache/solr/client/solrj/impl/CloudSolrClient.Builder.html documentation.

falloutdurham commented 3 years ago

Oooh, thanks for this! I may try to get out a new release in the next couple of weeks and will definitely add this in!