In order to allow Solrj tests to pass, I made the following change to
SolrJettyTestBase.createJetty() - previously, this method was initializing a
core with the default solr home: the first matching "solr/conf/.." dir in the
classpath, and I changed it to use the passed-in solrHome dir:
> public static JettySolrRunner createJetty(String solrHome, String
> configFile, String context) throws Exception {
> // creates the data dir
> - initCore(null, null);
> + initCore(null, null, solrHome);
>
> ignoreException("maxWarmingSearchers");
All tests pass, but I wonder if this change maybe has unintended side effects,
or if maybe it should have been passing solrHome to initCore() all along?
Anyone know?
Steve