You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Zach <wa...@yahoo.com> on 2011/01/09 23:55:30 UTC
Multiple Property Substitution
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
Re: Multiple Property Substitution
Posted by entdeveloper <ca...@gmail.com>.
*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.