: 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:
        ...
:   <!-- NOTE: If Solr looked at something like this:                -->
:   <!-- NOTE:   getServletContext().getInitParameter("solr.home");  -->
:   <!-- NOTE: we could do the following w/o mucking with JNDI       -->
        ...
: Is there a reason why this was not done?

because context params can *only* be set from the web.xml of the war ... 
which isn't something we want to encourage people to do (or suggest that 
they need to do) since it makes it extremely difficult to upgrade later.




-Hoss

Reply via email to