Re: SolrJ does not use HTTP proxy anymore in 7.5.0 after update from 6.6.5

2018-10-15 Thread Andreas Hubold
Hi Michael, sure. The important call is HttpClientBuilder#useSystemProperties which is also what Shawn added in his patch to https://issues.apache.org/jira/browse/SOLR-12848 For my workaround, I've just followed the code from method org.apache.solr.client.solrj.impl.HttpClientUtil#createClie

Re: SolrJ does not use HTTP proxy anymore in 7.5.0 after update from 6.6.5

2018-10-12 Thread Michael Joyner
Would you supply the snippet for the custom HttpClient to get it to honor/use proxy? Thanks! On 10/10/2018 10:50 AM, Andreas Hubold wrote: Thank you, Shawn. I'm now using a custom HttpClient that I create in a similar manner as SolrJ, and it works quite well. Of course, a fix in a future rel

Re: SolrJ does not use HTTP proxy anymore in 7.5.0 after update from 6.6.5

2018-10-10 Thread Andreas Hubold
Thank you, Shawn. I'm now using a custom HttpClient that I create in a similar manner as SolrJ, and it works quite well. Of course, a fix in a future release would be great, so that we can remove the workaround eventually. Thanks, Andreas Shawn Heisey schrieb am 10.10.2018 um 16:31: On 10/1

Re: SolrJ does not use HTTP proxy anymore in 7.5.0 after update from 6.6.5

2018-10-10 Thread Shawn Heisey
On 10/1/2018 6:54 AM, Andreas Hubold wrote: Is there some other way to configure an HTTP proxy, e.g. with HttpSolrClient.Builder? I don't want to create an Apache HttpClient instance myself but the builder from Solrj (HttpSolrClient.Builder). Unless you want to wait for a fix for SOLR-12848, y

Re: SolrJ does not use HTTP proxy anymore in 7.5.0 after update from 6.6.5

2018-10-10 Thread ahubold
I've now created https://issues.apache.org/jira/browse/SOLR-12848 for this problem. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

SolrJ does not use HTTP proxy anymore in 7.5.0 after update from 6.6.5

2018-10-01 Thread Andreas Hubold
Hi, SolrJ 6.6.5 used org.apache.http.impl.client.SystemDefaultHttpClient under the hood, which took system properties for HTTP proxy config into account (http.proxyHost and http.proxyPort). The deprecated SystemDefaultHttpClient class was replaced as part of SOLR-4509. And with Solr 7.5.0 I'