: 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
I am using solr 1.4 dev in a multicore way. Each of my core's
solrconfig.xml has the following lines
I am using SolrJ as EmbeddedSolrServer. When I try to add a POJO ( with
@Field annotations ), the data does not get indexed. Where as, if I use
SolrInputDocument way, the data gets indexed.
PS