Ratnesh,V2Solutions India wrote:
> Hi,
> when I deployed plugin, inside plugin directory of nutch in tomcat, I got
> following warn messages??
> one is java.lang.ArrayIndexOutOfBoundsException: 0
> and another is RecommendedQueryFilter :names no fields.
> (deleted the rest)
>
Hi, you should define the fields to be queried in the plugin's
plugin.xml file.
For example take a look at src/plugin/query-basic/plugin.xml :
<implementation id="BasicQueryFilter"
class="org.apache.nutch.searcher.basic.BasicQueryFilter">
<parameter name="fields" value="DEFAULT"/>
</implementation>
Here, the plugin declares to respond to DEFAULT field, you should add
the parameter to your plugin.xml file as :
<parameter name="fields" value="fieldname1 fieldname2 fieldname3"/>
where fieldname[1|2|3] is the name of the field that your query filter
builds the query upon.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general