Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change 
notification.

The following page has been changed by JakeVanderdray:
http://wiki.apache.org/nutch/OntologyPlugin

New page:
[This text comes straight from the README.TXT written by John Xing]

Ontology plugin is a contribution from Michael J Pan <[EMAIL PROTECTED]>.
Currently it is used to do one kind of query refinement as implemented
in refine-query-init.jsp and refine-query.jsp (both are called by search.jsp).

By default, ontology plugin is compiled, but query refinement based on it
is ignored in search.jsp. To enable query refinement, do the following

(1) specify url(s) of owl files to property extension.ontology.urls in
./conf/nutch-default.xml (or better, ./conf/nutch-site.xml).
(2) uncomment refine-query-init.jsp and refine-query.jsp in search.jsp

If you want to check ontology defined by different owl file, modify property
extension.ontology.urls in ./conf/nutch-default.xml (or better,
./conf/nutch-site.xml), and insert the following to ./bin/nutch:

elif [ "$COMMAND" = "ontology" ] ; then
  for f in $NUTCH_HOME/build/plugins/ontology/*.jar; do
    CLASSPATH=${CLASSPATH}:$f;
  done
  CLASS='org.apache.nutch.ontology.OntologyImpl'

---------------
Possible issue:
---------------
If search.jsp fails with this or similar error:

......
root cause 

java.lang.NoSuchFieldError: actualValueType
        at
com.hp.hpl.jena.datatypes.xsd.XSDDatatype.convertValidatedDataValue(XSDDatatype.java:371)
......

it is because jena and tomcat are using conflicting versions of the same
xerces library. To solve this, one needs to update tomcat's xerces library.
Here's a reference
http://jena.sourceforge.net/jena-faq.html#general-1


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nutch-cvs mailing list
Nutch-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-cvs

Reply via email to