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 ------------------------------------------------------------------------------ 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 + 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 + # 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 + # 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, @@ -28, +28 @@ == Possible issue: == - If search.jsp fails with this or similar error: + If search.jsp fails with this or similar error: - - ...... - root cause {{{ + 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 + 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