Closed katameru closed 6 years ago
Thanks! Is it possible to add CloudSolr support to the async client as well? https://github.com/takezoe/solr-scala-client/tree/master/src/main/scala/com/github/takezoe/solr/scala/async
Not as easily. CloudSolrClient coordinates with zookeeper and load balances requests, so if we wanted to use AsyncHttpClient we would have to re-implement/copy a lot of logic.
The alternative is to have an AsyncCloudSolrClient which just wraps calls to CloudSolrClient in Futures.
OK, I will merge this request and consider support in async client after that.
This pull request adds factory methods that create CloudSolrClient builders, and adds the ability to specify a non-default collection when building a query.