lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: including external files in config by corename
Date Tue, 06 Apr 2010 02:12:55 GMT

: The best you have to work with at the moment is Xincludes:
: and System Property Substitution:

Except that XInclude is a feature of hte XML parser, while property 
substitution is soemthing Solr does after the XML has been parsed into a 
DOM -- so you can't have an XInclude of a fle whose name is determined by 
a property (like the core name)

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 inside out)


View raw message