Hello all,
I'm trying to configure GSearch to use Solr. Can someone look at the
process detailed below and point out what I'm doing wrong?
Thanks.
I installed Solr 1.3 on a separate (from Fedora) tomcat server (same
server/same IP) using port 8081 (I changed all of the default Tomcat
ports for this instance to avoid conflicts with the Fedora tomcat server).
Solr is up in running at: http://localhost:8081/solr/admin
Fedora 3.3 is installed and running. I originally set up GSearch with
the default "basic" config, using Lucene. I want to configure GSearch
to use Solr instead.
To do so, I changed lines 30-32 of [Fedora Webapps
directory]\fedoragsearch\configvalues.xml
FROM:
<property name="default.config.path" location="${basic.config.path}" />
<property name="default.config.prefix" value="${basic.config.prefix}" />
<property name="default.index.1" value="${basic.index.1}" />
TO:
<property name="default.config.path" location="${solr.config.path}" />
<property name="default.config.prefix" value="${solr.config.prefix}" />
<property name="default.index.1" value="${solr.index.1}" />
AND
line 307
FROM:
<property name="solr.index.1.indexbase"
value="http://localhost:8983/solr" />
TO:
<property name="solr.index.1.indexbase"
value="http://localhost:8081/solr" />
Then, I saved the file outside the tomcat server and ran the following
ant build command:
ant -f configvalues.xml configOnWebServer
After doing so, I get the following error @
http://localhost:8080/fedoragsearch/rest
HTTP Status 500 -
*type* Exception report
*message*
*description* _The server encountered an internal error () that
prevented it from fulfilling this request._
*exception*
dk.defxws.fedoragsearch.server.errors.ConfigException:
*** Rest stylesheet fedoragsearch.defaultUpdateIndexRestXslt=demoFoxmlToSolr
not found
*** config/updater/BasicUpdaters/updater.properties not found in classpath
dk.defxws.fedoragsearch.server.Config.checkConfig(Config.java:650)
dk.defxws.fedoragsearch.server.Config.<init>(Config.java:232)
dk.defxws.fedoragsearch.server.Config.getCurrentConfig(Config.java:133)
dk.defxws.fedoragsearch.server.RESTImpl.doGet(RESTImpl.java:85)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
*note* _The full stack trace of the root cause is available in the
Apache Tomcat/6.0.20 logs._
Apache Tomcat/6.0.20
I restarted the Fedora & Solr tomcat servers, but restarting does not
resolve the issue.
--
Cheers,
Christopher Curry
Assistant Technical Librarian / Assistant IT Officer
American Philosophical Society
105 South Fifth Street
Philadelphia, PA 19106-3386
Tel. (215) 599-4299
ccu...@amphilsoc.org <mailto:ccu...@amphilsoc.org>
Main Library number: (215)440-3400
APS website: http://www.amphilsoc.org
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users