lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From The Flight Captain <jason_sheph...@flightcentre.com>
Subject Re: Can find solr jars in WEB-INF/lib directory
Date Wed, 04 Mar 2009 05:47:01 GMT

Thanks for the DirectSolrConnection tip, that eliminated the need for parsing
the XML as a string, and all that code need to instantiate a container. I am
now Using SolrCore.getSolrCore(). This method is deprecated though, what is
the standard way of instaniating a SoreCore to pass it as a parameter to
DirectSolrConnection?

I managed to solve my problem (NoClassDefFound), above, by reverting to the
1.3 release. 


Erik Hatcher wrote:
> 
> 
> On Mar 3, 2009, at 3:01 AM, The Flight Captain wrote:
>> I am wrapping CoreContainer in my own class (FacetServerImpl), so  
>> that I can
>> override the query(SolrRequest request) method to return an xml  
>> String. This
>> is the best way I found to get an xml response from Solr, without  
>> deploying
>> solr as a service, note that EmbeddedSolrServer returns a NamedList.
> 
> Maybe DirectSolrConnection is a better fit for your use?
> 
>> I have also tried putting apache-solr-core-nightly.jar in the lib  
>> directory
>> under Solr Home.
> 
> Solr doesn't load all classes through SolrResourceLoader, only  
> specific plugin points.
> 
>> How can I make the apache-solr-core-nightly.jar available to
>> ContextLoaderListener during bootstrapping of my Web Application?
> 
> put it in WEB-INF/lib??
> 
> 	Erik
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Can-find-solr-jars-in-WEB-INF-lib-directory-tp22304076p22324083.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message