Re: including external files in config by corename

2010-04-09 Thread Shawn Heisey
On 4/8/2010 1:15 PM, Chris Hostetter wrote: ...i suspect you want something like... where handlers.xml looks like... The xpointer you mentioned above didn't work. I finally found something that did, though: href="/index/solr/config/requestHandlers.xml#xpointer(/*/node())"

Re: including external files in config by corename

2010-04-08 Thread Chris Hostetter
: I'm having a problem with this idea. It seems that what you include with : XInclude can only be a single XML element, not "big chunks" as I had hoped. : If you have more than one, it dies. It took running it through xmllint to : figure out why, the Solr exception was not informative. This wil

Re: including external files in config by corename

2010-04-07 Thread Shawn Heisey
On 4/7/2010 9:16 AM, Shawn Heisey wrote: On 4/5/2010 8:12 PM, Chris Hostetter wrote: what you cna do however, is have a distinct solrconfig.xml for each core, which is just a thin shell that uses XInclude to include big chunkcs of frequently reused declarations, and some cores can exclude some

Re: including external files in config by corename

2010-04-07 Thread Shawn Heisey
On 4/5/2010 8:12 PM, Chris Hostetter wrote: what you cna do however, is have a distinct solrconfig.xml for each core, which is just a thin shell that uses XInclude to include big chunkcs of frequently reused declarations, and some cores can exclude some of thes includes. (ie: turn the problem in

Re: including external files in config by corename

2010-04-07 Thread Shawn Heisey
On 4/5/2010 8:43 PM, Mark Miller wrote: On 04/05/2010 10:12 PM, Chris Hostetter wrote: : 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_pr

Re: including external files in config by corename

2010-04-06 Thread Shawn Heisey
On 4/5/2010 8:43 PM, Mark Miller wrote: On 04/05/2010 10:12 PM, Chris Hostetter wrote: : 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_pr

Re: including external files in config by corename

2010-04-05 Thread Mark Miller
On 04/05/2010 10:12 PM, Chris Hostetter wrote: : 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 Except that XInclude

Re: including external files in config by corename

2010-04-05 Thread Chris Hostetter
: 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 Except that XInclude is a feature of hte XML parser, while proper

Re: including external files in config by corename

2010-04-05 Thread Mark Miller
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 al

Re: including external files in config by corename

2010-04-05 Thread Lance Norskog
Making snippets is part of highlighting. http://www.lucidimagination.com/search/s:lucid/li:cdrg?q=snippet On Mon, Apr 5, 2010 at 10:53 AM, 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 com

including external files in config by corename

2010-04-05 Thread Shawn Heisey
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 confi