: I am trying to use the EmbeddedSolrServer to connect to the "general" : core that is already running:
that is not going to work. EmbeddedSolrServer is solely for running solr entirely contained inside your application, w/o using a servlet container -- it doesn't support any of the HTTP based features of Solr (ie: replication, solr cloud, distributed search, admin ui, etc...) : The problem here is that I think this is trying to start a new Solr Exactly. : I know that I can also use HttpSolrServer, but I don't really want to : connect Http when I am already in the application server. An HTTP connection to localhost, using things like keep-alive, should have almost negligable overhead compared to using EmbeddedSolrServer -- and leaves you open for all of the scalability advantages of distributing solr to multiple machines. -Hoss