: This is what worked in solr 1.4 and did not work in solr 3.6. : : Actually solr 3.6 requires all the xsl to be present in conf/xslt directory : All paths leading to xsl should be relative to conf directory. : : But before this was not the case.
Right ... this was actually a bug (in how all relative paths in xml includes, or xsl includes, were resolved) that was fixed in Solr 3.1, as noted in CHANGES.txt... * SOLR-1656: XIncludes and other HREFs in XML files loaded by ResourceLoader are fixed to be resolved using the URI standard (RFC 2396). The system identifier is no longer a plain filename with path, it gets initialized using a custom URI scheme "solrres:". This scheme is resolved using a EntityResolver that utilizes ResourceLoader (org.apache.solr.common.util.SystemIdResolver). This makes all relative pathes in Solr's config files behave like expected. This change introduces some backwards breaks in the API: Some config classes (Config, SolrConfig, IndexSchema) were changed to take org.xml.sax.InputSource instead of InputStream. There may also be some backwards breaks in existing config files, it is recommended to check your config files / XSLTs and replace all XIncludes/HREFs that were hacked to use absolute paths to use relative ones. (uschindler) -Hoss