Re: [Schema API] EmbeddedSolrServer Test

2014-07-11 Thread Alessandro Benedetti
Thank you Chris, Exactly as you suggested I was looking into related classes to that one. Playing with : @BeforeClass > public static void init() throws Exception { > final SortedMap extraServlets = new > TreeMap(); > final ServletHolder solrRestApi = new ServletHolder("SolrRestApi", >

Re: [Schema API] EmbeddedSolrServer Test

2014-07-10 Thread Chris Hostetter
EmbeddedSolrServer is really just for dealing with embedded SolrCore objects. It doesn't have ay of the other HTTP related plumbing assocaited with it -- which is why it can't be used for replication and/or cloud features, let alone the RESTLet based endpoints. if you want to write a test tha