Re: Testing a custom implementation of CommonsHttpSolrServer

2011-12-09 Thread Chris Hostetter
: One thing I want to avoid is having to have a Solr instance set up on : every developers sandbox in order : for the tests to work. What I'm looking for is an embedded solution : which is started up programmatically : BUT is accessed over HTTP. Take a look at SolrJettyTestBase and the tests that

Re: Testing a custom implementation of CommonsHttpSolrServer

2011-12-06 Thread Erik Hatcher
Mark - So you want the *server* to be started programmatically? You could use Jetty's API to do this... or fork a JVM. As for client-side SolrJ, you can pass an HttpClient to CommonsHttpSolrServer's constructor to customize how the HTTP connection is configured. EmbeddedSolrServer - no, it i