You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Dennis <ar...@yahoo.com.cn> on 2010/10/08 15:55:00 UTC

empty search.jsp page, Distributed Searching

hi, 
I followed http://wiki.apache.org/nutch/NutchHadoopTutorial#Distributed_Searching to set up a distributed searching environment. And I came across something strange.
1. When I tried to search "apache", http://nutch03:8080/search.jsp?query=asdf&hitsPerPage=10&lang=en showed nothing, just empty, with HTML code "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">". And the catalina.out showed:2010-10-08 21:44:35,981 INFO  NutchBean - query request from 192.168.7.172010-10-08 21:44:35,981 INFO  NutchBean - query: apache2010-10-08 21:44:35,981 INFO  NutchBean - lang: en2010-10-08 21:44:35,982 INFO  NutchBean - searching for 20 raw hits2010-10-08 21:44:35,991 INFO  NutchBean - re-searching for 40 raw hits, query: apache2010-10-08 21:44:36,001 INFO  NutchBean - found 209 raw hits
2. When I tried to search "asdf", which is not indexed in my index database, "http://nutch03:8080/search.jsp?query=asdf&hitsPerPage=10&lang=en" showed me the normal nutch page, saying "Hits 0-0 (out of about 0 total matching pages): "And the catalina.out showed:2010-10-08 21:44:46,440 INFO  NutchBean - query request from 192.168.7.172010-10-08 21:44:46,441 INFO  NutchBean - query: asdf2010-10-08 21:44:46,441 INFO  NutchBean - lang: en2010-10-08 21:44:46,441 INFO  NutchBean - searching for 20 raw hits2010-10-08 21:44:46,447 INFO  NutchBean - total hits: 0

So, my question is, why was the page empty?
Dennis