Re: Multiple Property Substitution

2012-02-23 Thread entdeveloper
*bump*

I'm also curious is something like this is possible. Being able to nest
property substitution variables, especially when using multiple cores, would
be a really slick feature.


Zach Friedland wrote
 
 Has anyone found a way to have multiple properties (override  default)? 
 What 
 I'd like to create is a default property with an override property that
 usually 
 wouldn't be set, but would be set as a JVM parameter if I want to turn off 
 replication on a particular index on a particular server.  I tried this
 syntax 
 but it didn't work...
 
 requestHandler name=/replication class=solr.ReplicationHandler 
   lst name=slave
 str 
 name=enable${Solr.enable.slave.core.override:${Solr.enable.slave.default:false}}/str
 
   /lst
 /requestHandler
 
 Thanks
 


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multiple-Property-Substitution-tp2223781p3770649.html
Sent from the Solr - User mailing list archive at Nabble.com.


Multiple Property Substitution

2011-01-09 Thread Zach
Has anyone found a way to have multiple properties (override  default)?  What 
I'd like to create is a default property with an override property that usually 
wouldn't be set, but would be set as a JVM parameter if I want to turn off 
replication on a particular index on a particular server.  I tried this syntax 
but it didn't work...

requestHandler name=/replication class=solr.ReplicationHandler 
  lst name=slave
str 
name=enable${Solr.enable.slave.core.override:${Solr.enable.slave.default:false}}/str

  /lst
/requestHandler

Thanks