Integrating Solr Search with Webspace Server

Version 1 by Godavari
on Mar 21, 2009 12:44.

compared with
Current by Godavari
on Mar 23, 2009 07:52.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View page history
* Configure the domain.xml of the GlassFish to include the solr.solr.home parameter.
{code}
Stop the GlassFish server where Solr will be deployed
Edit the domain.xml to add
"<jvm-options>-Dsolr.solr.home=/opt/wsynergy/Install/apache-solr/example/solr</jvm-options>"
/opt/wsynergy/glassfish/bin/asadmin create-jvm-options --user admin --port 4848 --target server -- "-Dsolr.solr.home=/opt/wsynergy/Install/apache-solr/example/solr"
{code}
$ jar xf solr-web-5.2.0.1.war
{code}
- Copy the schem.xml file which describes how the fields will be indexed to the Solr index and it should be located in the /tmp/solr-plugin/docroot/WEB-INF/conf folder. Copy this file to /opt/wsynergy/Install/apache-solr/example/solr/conf directory located on the Solr Server.

- Start the Solr Search Engine server.

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact