This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Page tree
Skip to end of metadata
Go to start of metadata

Configuring Solr to use a proxy directly (i.e. if you use sharded searches, and you need Solr to see the web via a proxy) is not possible. However, you can configure the proxy in the JVM, and conveniently, Solr uses the SystemDefaultHttpClient when fetching data, which will respect those settings.

So, if you're using Jetty, it's as simple as this:

java -jar start.jar \
    -Dhttp.proxyHost=my.proxy.url.or.ip \
    -Dhttp.proxyPort=1234

Don't include the protocol if you use a URL.

  • No labels