List Info

Thread: WARN QueryFilters - QueryFilter: RecommendedQueryFilter :names no fields.




WARN QueryFilters - QueryFilter: RecommendedQueryFilter :names no fields.
country flaguser name
United States
2007-03-21 01:16:34
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.

this is my log file showing above warn message

2007-03-21 11:36:31,812 INFO  NutchBean - opening merged
index in
E:/eclipse/wor
kspace5/Nutch/crawl-result/index
2007-03-21 11:36:31,922 WARN  QueryFilters - QueryFilter:
RecommendedQueryFilter
 names no fields.
2007-03-21 11:36:31,953 INFO  Configuration - found
resource
common-terms.utf8 a
t
file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomc
at%205.0/webapps/n
utch-0.8.1/WEB-INF/classes/common-terms.utf8
2007-03-21 11:36:31,968 INFO  NutchBean - opening segments
in
E:/eclipse/workspa
ce5/Nutch/crawl-result/segments
2007-03-21 11:36:31,984 WARN  SummarizerFactory -
java.lang.ArrayIndexOutOfBound
sException: 0
2007-03-21 11:36:31,984 INFO  NutchBean - opening linkdb in
E:/eclipse/workspace
5/Nutch/crawl-result/linkdb
2007-03-21 11:36:31,999 INFO  NutchBean - query request from
127.0.0.1
2007-03-21 11:36:32,031 INFO  NutchBean - query: plugin
2007-03-21 11:36:32,031 INFO  NutchBean - lang: en
2007-03-21 11:36:32,077 INFO  NutchBean - searching for 20
raw hits

and if I put any search string in Nutch GUI, it goes with
blank page without
showing anything.

Can anybody help me solving this issue??

With Thanks
Ratnesh
-- 
View this message in context: http://www.nabble.com/WARN--QueryFilters---Query
Filter%3A-RecommendedQueryFilter-%3Anames-no-fields.-tf34386
78.html#a9588081
Sent from the Nutch - User mailing list archive at
Nabble.com.


Vidoe search
country flaguser name
Russian Federation
2007-03-21 05:27:36
Does nutch have a video search solution?
Does anybody do anything about this problem?
Can I read about it anywhere?



Re: WARN QueryFilters - QueryFilter: RecommendedQueryFilter :names no fields.
country flaguser name
United States
2007-03-21 07:40:06
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.




[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )