I installed Tomcat, and got SOLR version 1.3 working no problem by copying the "conf" directory from the "example" directory in the 1.3 release files.
Now I've just downloaded the SOLR 1.4 release, but can't get it to work.
I've noticed the new solrconfig.xml file in the 1.4 release "example" directory has some new settings w开发者_如何学JAVAhich reference items in "lib" and "distr" folder.
Also, the example directory in the 1.4 release doesn't have any "lib" folders.
Not being a JAVA/Tomcat guy, I'm totally confused as to getting everything working. I'm not sure where to put the "lib", "distr" folders from the 1.4 release into my solr directory.
There's loads of different folders, and .jar files, in the 1.4 release, and I'm not sure what to do with them??
Ideally i'd like all the reference plug-ins in the default solrconfig.xml to work, and in particular I need that the RequestExtractiongHandler works.
can anyone help?
cheers
UPDATE:
The specific error I keep getting is when I copy the solrconfig.xml from the 1.4 release exmaple folder, is this:
HTTP Status 500 - Severe errors in solr configuration (...) Error loading class 'solr.FastLRUCache'
I don't think the error is specific to that class, I think it's a general issue with me not knowing where to put the necessary .jar files... and how to reference them
Do you know which JAR has the file you need? If so, after the solr.war file has been expanded under Tomcat, you should be able to drop the JAR(s) into $CATALINA_HOME/solr/WEB-INF/lib
(assuming you installed solr into Tomcat using the solr.war included in the distribution; if not, you should do that first).
I've created a step by step blog post for this. Complete with screen shots. Hope it helps.
For quickly trying out SOLR I found LucidWorks at Lucidimagination to be amazing. A single installer that will install and configure all the bits and pieces for you.
精彩评论