I recently found out about the ConcurrentUpdateSolrServer and I'm trying to switch from the HttpSolrServer for batch processing.
However, our Solr is protected with basic authentication, so we're using a custom HttpClient that sends the credentials with it.
This works fine with HttpSolrServer, but not with ConcurrentUpdateSolrServer. The ConcurrentUpdateSolrServer uses this.server.setFollowRedirects(false), but this triggers getParams() on the HttpClient which throws an `UnSupportedOperationException` when you use the InternalHttpClient which is the default type when using the HttpClientBuilder.
The stack trace produced is:
It's annoying of course, and I don't know who is to be "blamed". I reported it here anyways because the getParams() method is deprecated.
I'm using SolrJ 4.9, but I also noticed that it's neither working on 4.7 or 4.8 or any version using HttpClient 4.3.