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 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. 
> 

Reply via email to