Solr Admin: How do I change the SolrCloud IP addresses in the Cloud Graph?

Question

In SolrCloud mode, I have noticed that in the Cloud Graph section of the Solr Admin UI, the nodes are represented by their IP addresses.

Is there a way to change these IP addresses to the hostname of the server?

Screen_Shot_2013-10-31_at_2.40.00_PM.png

Answer

Solr will determine the address of the server that is addressable from remote servers and assign it to the node. This value can be explicitly set to a hostname or IP address with the 'host' system property.

For instance, in LucidWorks Search you can edit master.conf file under [LWE_HOME]/conf and add the following property to lwecore.jvm.params

-Dhost=<your-hostname>

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk