On 04/05/2010 01:53 PM, Shawn Heisey wrote:
Is it possible to access the core name in a config file (such as solrconfig.xml) so I can include core-specific configlets into a common config file? I would like to pull in different configurations for things like shards and replication, but have all the cores otherwise use an identical config file.

Also, I have been looking for the syntax to include a snippet and haven't turned anything up yet.

Thanks,
Shawn


The best you have to work with at the moment is Xincludes:

http://wiki.apache.org/solr/SolrConfigXml#XInclude

and System Property Substitution:

http://wiki.apache.org/solr/SolrConfigXml#System_property_substitution

--
- Mark

http://www.lucidimagination.com



Reply via email to