But how do I maintain multiple copies of solr on same machine. For instance if I have two webapps using two independent solr indexes?
Thanks, R On Dec 14, 2007 11:04 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : 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 > >