: i need the host name of my solr-server in my solrconfig.xml : anybody knows the correct variable? : : something like ${solr.host} or ${solr.host.name} ... : : exists an documantation about ALL available variables in the solr : namespaces?
Off the top of my head i don't know that there are any system properties that solr "creates" for you in the solr.* namespace -- when you see examples of people talking aboutthings like $solr.data.dir that's just convention in the example files that you can set when you run Solr and solr will *read* that value because you use it in your solrconfig.xml Any run time java system property should be available when the solrconfig.xml is read, and you can get a list of all the properties in your system from the "Properties" link in the Solr Admin UI. I don't think there is a standard java system property for the hostname (machines can have multiple hosts, even multiple IPs) but you could always do something like... java -Dsolr.my.hostname=`hostname` -jar start.jar ...when running solr. -Hoss