Re: Initialising of CommonsHttpSolrServer in Spring framwork

2009-05-15 Thread Aleksander M. Stensby
; > >> I am using Solr 1.3 and Solrj as a Java Client. I am >> Integarating Solrj in Spring framwork, I am facing a problem, >> Spring framework is not inializing CommonsHttpSolrServer >> class, how can I define this class to get the instance of >> SolrServer to invo

Re: Initialising of CommonsHttpSolrServer in Spring framwork

2009-05-08 Thread Avlesh Singh
an I define this class to get the instance of > >> SolrServer to invoke furthur method on this. > >> > > > > > > > > -- > View this message in context: > http://www.nabble.com/Initialising-of-CommonsHttpSolrServer-in-Spring-framwork-tp18808743p23451795.html > Sent from the Solr - User mailing list archive at Nabble.com. > >

RE: Initialising of CommonsHttpSolrServer in Spring framwork

2009-05-08 Thread sachin78
Spring framwork, I am facing a problem, >> Spring framework is not inializing CommonsHttpSolrServer >> class, how can I define this class to get the instance of >> SolrServer to invoke furthur method on this. >> > > > -- View this message in context: http://www.nabble

Re: Initialising of CommonsHttpSolrServer in Spring framwork

2008-08-04 Thread Ranjeet
M Subject: Re: Initialising of CommonsHttpSolrServer in Spring framwork Looks to me like you have a conflict with the version of HttpClient in that exception, likely not using the same version that SolrJ requires. Erik On Aug 4, 2008, at 12:07 PM, Ranjeet wrote: Hi Tomislav, I have user the sam

Re: Initialising of CommonsHttpSolrServer in Spring framwork

2008-08-04 Thread Erik Hatcher
not working , exception is attached in this mail. pls suggest me what to do further. Thanks & Regards, Ranjeet - Original Message - From: "Tomislav Poljak" <[EMAIL PROTECTED] > To: Sent: Monday, August 04, 2008 4:31 PM Subject: Re: Initialising of CommonsHttp

Re: Initialising of CommonsHttpSolrServer in Spring framwork

2008-08-04 Thread Ranjeet
; To: Sent: Monday, August 04, 2008 4:31 PM Subject: Re: Initialising of CommonsHttpSolrServer in Spring framwork Hi Ranjeet, try this in your Spring config: http://solr_url:8080/ and inject it to you service like this: and you have to have a setter in SomeService

RE: Initialising of CommonsHttpSolrServer in Spring framwork

2008-08-04 Thread Fuad Efendi
Use constructor and pass URL parameter. Nothing SPRING related... Create a Spring bean with attributes 'MySolr', 'MySolrUrl', and 'init' method... 'init' will create instance of CommonsHttpSolrServer. Configure Spring... > I am using Solr 1.3 and Solrj as a Java Client. I am > Integarating So

Re: Initialising of CommonsHttpSolrServer in Spring framwork

2008-08-04 Thread Tomislav Poljak
Hi Ranjeet, try this in your Spring config: http://solr_url:8080/ and inject it to you service like this: and you have to have a setter in SomeService for the prop. server (solrServer), off course. Hope this helps, Tomislav 2008/8/4 Ranjeet <[EMAIL PROTECTED]>

Initialising of CommonsHttpSolrServer in Spring framwork

2008-08-04 Thread Ranjeet
Hi, I am using Solr 1.3 and Solrj as a Java Client. I am Integarating Solrj in Spring framwork, I am facing a problem, Spring framework is not inializing CommonsHttpSolrServer class, how can I define this class to get the instance of SolrServer to invoke furthur method on this. Thanks & Reg

Initialising of CommonsHttpSolrServer in Spring framwork

2008-08-03 Thread Ranjeet
Hi, I am using Solr 1.3 and Solrj as a Java Client. I am Integarating Solrj in Spring framwork, I am facing a problem, Spring framework is not inializing CommonsHttpSolrServer class, how can I define this class to get the instance of SolrServer to invoke furthur method on this. Thanks & Rega