No, it's not possible.  See workaround: 
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201008.mbox/%3c9f8b39cb3b7c6d4594293ea29ccf438b01702...@icq-mail.icq.il.office.aol.com%3e

Ephraim Ofir | Reporting and Host Development team | ICQ 
P: +972 3 7665510 | M: + 972 52 4888510 | F: +972 3 7665566 | ICQ#: 18981 | E: 
ephra...@icq.com 
 


-----Original Message-----
From: Jason Chaffee [mailto:jchaf...@ebates.com] 
Sent: Wednesday, September 15, 2010 9:58 PM
To: solr-user@lucene.apache.org
Subject: using variables/properties in dataconfig.xml

Is it possible to use the same type of property configuration in
dataconfig.xml as is possible in solrconfig.xml?

 

I tried it and it didn't seem to work.  For example,

 

<dataDir>${solr.data.dir:/opt/search/store/solr/data}</dataDir>

 

And in the dataconfig.xml, I would like to do this to configure the
baseUrl:

 

  <dataSource type="URLDataSource" baseUrl="${solr.baseUrl}"
encoding="UTF-8" />

 

Thanks,

 

Jason

Reply via email to