lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe <tomasflo...@gmail.com>
Subject Re: SolrCloud: published host/port
Date Thu, 24 Mar 2016 16:25:48 GMT
I believe this can be done by setting the "host" and "hostPort" elements in
solr.xml. In the default solr.xml they are configured in a way to support
also setting them via System properties:

<str name="host">${host:}</str>
<int name="hostPort">${jetty.port:8983}</int>

Tomás

On Wed, Mar 23, 2016 at 11:26 PM, Hendrik Haddorp <hendrik.haddorp@gmx.net>
wrote:

> Hi,
>
> is it possible to instruct Solr to publish a different host/port into
> ZooKeeper then it is actually running on? This is required if the Solr
> node is not directly reachable on its port from outside due to a NAT
> setup or when running Solr as a Docker container with a mapped port.
>
> For what its worth ElasticSearch is supporting this as documented here [1]:
>     - transport.publish_port
>     - transport.publish_host
>
> regards,
> Hendrik
>
> [1]
>
> https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-transport.html
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message