How to install Semantic Search on your Drupal web site.

NOTE: work in progress - update pending in a couple of days. (Oct 15 2007)

Summary
Besides the Semantic Search module, you will also need to download and install an RDF store.
On sites larger than 2000 nodes, you will likely want to use one of the JAVA based RDF-Stores.

Prerequisites

  • PHP 5
  • An RDF store
    • ARC
      • MySQL 5
    • Sesame
      • Java 5
      • Caucho Resin server w/ Quercus PHP in Java
      • Zend Application Framework 1.0.1 or higher
  • Drupal 5 or higher
  • CCK

Installing the Sesame Setup:

* if necessary, get Java
* get Sesame at OpenRDF.org (unpack)
* get Resin at http://caucho.com (unpack)
* modify httpd.sh in /bin of Resin to use -server with Suns JVM and up the memory but watch for issues
http://forum.java.sun.com/thread.jspa?threadID=632411 and http://forum.openvz.org/index.php?t=msg&goto=7057& if on VPS hosts
* Place the SesamePHPModule.java file in webapps/[yourapp]/WEB-INF/classes/org/semanticsearch/sonia
Place the openRDF lib jars in webapps/[yourapp]/WEB-INF/lib
Place the openRDF.war file in the root of the webapps folder
Place the openRDF.war file in the root of the webapps folder

The rest is described here:
http://quercus.caucho.com/quercus-3.1/examples/quercus-module/index.xtp

Place a file webapps/[yourapp]/WEB-INF/META-INF
Place the resin-web.xml file at webapps/[yourapp]/WEB-INF

Get Code:

Download from http://drupal.org/project/semantic_search or CVS


export CVSROOT=:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib
cvs checkout -r DRUPAL-5 contributions/modules/semantic_search

Install Resin server files

TO INSTALL the Quercus module
-----
requires sesame_rpc, CauchoResin server (untested with quercus on another webserver)