: My code and solr were running as 2 different processes! ( Weird part is that
: when I run the code using EmbeddedSolrServer, it did not throw any exception
: that there was already a server running on that port. )
EmeddedSolrServer doesn't start up any port, or attempt to communicate
with any
On Jul 20, 2009, at 6:11 AM, Code Tester wrote:
I am even unable to delete documents using the EmbeddedSolrServer
( on a
specific core )
Steps:
1) I have 2 cores ( core0 , core1 ) Each of them have ~10 records.
2) System.setProperty("solr.solr.home",
"/home/user/projects/solr/example/multi"
Sorry everyone. Found the issue. It was because of a very stupid assumption.
My code and solr were running as 2 different processes! ( Weird part is that
when I run the code using EmbeddedSolrServer, it did not throw any exception
that there was already a server running on that port. )
Thanks!
O
Another observation:
I am even unable to delete documents using the EmbeddedSolrServer ( on a
specific core )
Steps:
1) I have 2 cores ( core0 , core1 ) Each of them have ~10 records.
2) System.setProperty("solr.solr.home",
"/home/user/projects/solr/example/multi");
File home = new File