Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Solr, mail # user - access to environment variables in solrconfig.xml and/or schema.xml?


Copy link to this message
-
access to environment variables in solrconfig.xml and/or schema.xml?
Burton-West, Tom 2010-12-13, 19:28
I see variables used to access java system properties in solrconfig.xml and schema.xml:

http://wiki.apache.org/solr/SolrConfigXml#System_property_substitution
<dataDir>${solr.data.dir:}</dataDir>
or
${solr.abortOnConfigurationError:true}

Is there a way to access environment variables or does everything have to be stuffed into a java system property?

Tom Burton-West

+
Koji Sekiguchi 2010-12-14, 00:27