;
>
>> 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
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.
>
>
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
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
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
;
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
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
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]>
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
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
10 matches
Mail list logo