Re: Controlling webapp startup

2011-05-10 Thread Chris Hostetter
: 2) Use the usual Solr servlet apparatus, but defer its startup until : other code in the webapp makes up its mind about configuration and : calls System.setProperty to locate the solr home and data directories. I would suggest that route ... basically just create your own war, and subclass Sol

Controlling webapp startup

2011-05-05 Thread Benson Margulies
There are two ways to characterize what I'd like to do. 1) use the EmbeddedSolrServer to launch Solr, and subsequently enable the HTTP GET/json servlet. I can provide the 'servlet' wiring, I just need to be able to hand an HttpServletRequest to something and retrieve in return the same json that w