Hi, Recently, I had to set up a Jetty with multiple Solr homes (not multi-core). I used JNDI with Jetty 6.1.6 to get this going. Then Matt Kangas' note from July 2007 caught my attention:
<env-entry> <env-entry-name>solr/home</env-entry-name> <env-entry-value>./solr_users</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <!-- NOTE: If Solr looked at something like this: --> <!-- NOTE: getServletContext().getInitParameter("solr.home"); --> <!-- NOTE: we could do the following w/o mucking with JNDI --> <!-- <context-param> <param-name>solr.home</param-name> <param-value>fixme-some-path</param-value> </context-param> --> Is there a reason why this was not done? Thanks, Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch