Re: Runtime exception when adding documents using solrj

2009-04-02 Thread vivek sar
Hello Shalin, Looks like I was using old version of solrconfig.xml (from Solr 1.2). After I updated to the latest solrconfig.xml (from 1.4) it seems to be working fine. Another question I got is how would I search on multi-cores, 1) If I want to search for a word in two different cores? 2) I

Re: Runtime exception when adding documents using solrj

2009-04-01 Thread Shalin Shekhar Mangar
On Thu, Apr 2, 2009 at 2:34 AM, vivek sar wrote: > Thanks Shalin. > > I added that in the solrconfig.xml, but now I get this exception, > > org.apache.solr.common.SolrException: Not Found > Not Found > request: http://localhost:8080/solr/core0/update?wt=javabin&version=2.2 > > I do have the "core0

Re: Runtime exception when adding documents using solrj

2009-04-01 Thread vivek sar
Thanks Shalin. I added that in the solrconfig.xml, but now I get this exception, org.apache.solr.common.SolrException: Not Found Not Found request: http://localhost:8080/solr/core0/update?wt=javabin&version=2.2 I do have the "core0" under the solr.home. The core0 directory also contains the conf

Re: Runtime exception when adding documents using solrj

2009-04-01 Thread Shalin Shekhar Mangar
On Thu, Apr 2, 2009 at 1:13 AM, vivek sar wrote: > Hi, > >  I'm trying to add the list of POJO objects (using annotations) using > solrj, but the "server.addBeans(...) " is throwing this exception, > > org.apache.solr.common.SolrException: Bad Request > Bad Request > request: http://localhost:8080

Re: Runtime exception when adding documents using solrj

2009-04-01 Thread vivek sar
[mailto:noble.p...@gmail.com] > Sent: Wednesday, April 01, 2009 3:52 PM > To: solr-user@lucene.apache.org; cra...@ceiindia.com > Subject: Re: Runtime exception when adding documents using solrj > > Can u take a look at the Solr logs and see what is hapening? > > On Wed, Apr 1, 2009

RE: Runtime exception when adding documents using solrj

2009-04-01 Thread Radha C.
lrServer.java:48) >at SolrIndexTest.main(SolrIndexTest.java:47) > Java Result: 1 > > > > > -Original Message- > From: Noble Paul നോബിള്‍ नोब्ळ् [mailto:noble.p...@gmail.com] > Sent: Wednesday, April 01, 2009 2:26 PM > To: solr-user@lucene.apache.org; c

Re: Runtime exception when adding documents using solrj

2009-04-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
ava Result: 1 > > > > > -Original Message- > From: Noble Paul നോബിള്‍ नोब्ळ् [mailto:noble.p...@gmail.com] > Sent: Wednesday, April 01, 2009 2:26 PM > To: solr-user@lucene.apache.org; cra...@ceiindia.com > Subject: Re: Runtime exception when adding d

RE: Runtime exception when adding documents using solrj

2009-04-01 Thread Radha C.
iindia.com Subject: Re: Runtime exception when adding documents using solrj the url is wrong try this CommonsHttpSolrServer server = new CommonsHttpSolrServer("http://localhost:8080/solr/";); On Wed, Apr 1, 2009 at 2:04 PM, Radha C. wrote: > > Can anyone please tell me , what i

Re: Runtime exception when adding documents using solrj

2009-04-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
e- > From: Radha C. [mailto:cra...@ceiindia.com] > Sent: Wednesday, April 01, 2009 12:28 PM > To: solr-user@lucene.apache.org > Subject: RE: Runtime exception when adding documents using solrj > > > I am using Solr 1.3 version > >  _ > > From: Noble Paul നോബിള്‍

RE: Runtime exception when adding documents using solrj

2009-04-01 Thread Radha C.
Can anyone please tell me , what is the issue with the below java code.. -Original Message- From: Radha C. [mailto:cra...@ceiindia.com] Sent: Wednesday, April 01, 2009 12:28 PM To: solr-user@lucene.apache.org Subject: RE: Runtime exception when adding documents using solrj I am

RE: Runtime exception when adding documents using solrj

2009-04-01 Thread Radha C.
I am using Solr 1.3 version _ From: Noble Paul നോബിള്‍ नोब्ळ् [mailto:noble.p...@gmail.com] Sent: Wednesday, April 01, 2009 12:16 PM To: solr-user@lucene.apache.org; cra...@ceiindia.com Subject: Re: Runtime exception when adding documents using solrj which version of Solr are you

Re: Runtime exception when adding documents using solrj

2009-03-31 Thread Noble Paul നോബിള്‍ नोब्ळ्
which version of Solr are you using? On Wed, Apr 1, 2009 at 12:01 PM, Radha C. wrote: > Hi All, > > I am trying to index documents by using solrj client. I have written a > simple code below, > > { >CommonsHttpSolrServer server = new > CommonsHttpSolrServer("http://localhost:8080/s