In the plugin.xml file bellow, try changing:
<implementation id="URLQueryFilter"
class="
org.apache.nutch.searcher.quiew.QuiewQueryFilter"
fields="url"/>
To:
<implementation id="URLQueryFilter"
class="
org.apache.nutch.searcher.quiew.QuiewQueryFilter"
fields="quiewId"/>
That should tell the searcher to use your plugin to search
against the quiewId field. If that still doesn't work quite the way you
want try setting fields to DEFAULT. That should cause it to run all
queries through your filter even if quiewId:[term] isn't specified.
I ran into the same issue myself and I'm still trying to fully
understand how the filters end up getting called.
Jake.
---------------- Query plugin ----------------------
<?xml version="1.0" encoding="UTF-8"?>
<plugin
id="query-quiew"
name="Quiew Query Filter"
version="1.0.0"
provider-name="nutch.org">
<extension-point
id="org.apache.nutch.searcher.QueryFilter"
name="Nutch Query Filter"/>
<runtime>
<library name="query-quiew.jar">
<export name="*"/>
</library>
</runtime>
<extension id="org.apache.nutch.searcher.quiew.QuiewQueryFilter"
name="Nutch URL Query Filter"
point="org.apache.nutch.searcher.QueryFilter">
<implementation id="URLQueryFilter"
class="
org.apache.nutch.searcher.quiew.QuiewQueryFilter"
fields="url"/>
</extension>
</plugin>