Hi,

I am looking at the plugin.xml under $nutch_home\src\plugin\query-site\,
and notice the following code:

<plugin
   id="query-site"
   name="Site Query Filter"
   version="1.0.0"
   provider-name="nutch.org">

   <runtime>
      <library name="query-site.jar">
         <export name="*"/>
      </library>
   </runtime>

   <requires>
      <import plugin="nutch-extensionpoints"/>
   </requires>

   <extension id="org.apache.nutch.searcher.site.SiteQueryFilter"
              name="Nutch Site Query Filter"
              point="org.apache.nutch.searcher.QueryFilter">
      <implementation id="SiteQueryFilter"

class="org.apache.nutch.searcher.site.SiteQueryFilter">
        <parameter name="raw-fields" value="site"/>
      </implementation>
      
   </extension>

</plugin>


For this plugin to work, there must be some entry point in some .xml
file such that nutch will know where to locate this SiteQueryFilter
class when the filter function within
org.apache.nutch.searcher.QueryFilter is called. However, I searched all
the workspace and tried to find some entry and had no luck as of now.

Does any of you know the mechanism that would make this SiteQueryFilter
plugin to work?

Thanks,
Jeff

Reply via email to