You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Feng (Michael) Ji" <fj...@yahoo.com> on 2005/07/17 23:31:01 UTC

Nutch returning NULL Result

Hi there, 

I am a new commer to the Nutch world.

After install Nutch and Tomcat in my linux box, I
tried to crawl a single url.

Using command of
"
bin/nutch crawl url2 -dir crawl2 -depth 3 >&
crawl2.log
"

my url2 is a plain text file with content of
"http://www.nutch.org/" and I do change
"urlfilter.txt"

But, after crawling, I checked the crawl.log, seems it
didn't fetch anything.

"
050717 083918 DONE indexing segment 20050717083916:
total 0 records in 0.19 s (NaN rec/s).
"

And the search result is return NULL in web UI.

Any suggestion will be very helpful,

thanks,

Michael,

FYI, I attached the catalina log file for the search
hit;

>
/home/fji/SE/tomcat4/work/Standalone/localhost/examples
> is unusable.
> Jul 17, 2005 8:41:56 AM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
> config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Jul 17, 2005 8:41:56 AM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
> config='org.apache.struts.action.ActionResources',
> returnNull=true
> Jul 17, 2005 8:41:56 AM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
>
config='org.apache.webapp.admin.ApplicationResources',
> returnNull=true
> The scratchDir you specified:
> /home/fji/SE/tomcat4/work/Standalone/localhost/admin
> is unusable.
> The scratchDir you specified:
>
/home/fji/SE/tomcat4/work/Standalone/localhost/manager
> is unusable.
> The scratchDir you specified:
> /home/fji/SE/tomcat4/work/Standalone/localhost/_ is
> unusable.
> The scratchDir you specified:
>
/home/fji/SE/tomcat4/work/Standalone/localhost/tomcat-docs
> is unusable.
> The scratchDir you specified:
>
/home/fji/SE/tomcat4/work/Standalone/localhost/webdav
> is unusable.
> Jul 17, 2005 8:41:59 AM
> org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8888
> Jul 17, 2005 8:41:59 AM
> org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> Jul 17, 2005 8:41:59 AM org.apache.jk.server.JkMain
> start
> INFO: Jk running ID=0 time=1/110 
> config=/home/fji/SE/tomcat4/conf/jk2.properties
> 050717 084206 parsing
>
file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-default.xml
> 050717 084206 parsing
>
file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-site.xml
> 050717 084206 Plugins: looking in:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/clustering-carrot2
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/creativecommons
> 050717 084206 parsing:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/index-basic/plugin.xml
> 050717 084206 impl:
> point=org.apache.nutch.indexer.IndexingFilter
>
class=org.apache.nutch.indexer.basic.BasicIndexingFilter
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/index-more
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/language-identifier
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/ontology
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-ext
> 050717 084206 parsing:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-html/plugin.xml
> 050717 084206 impl:
> point=org.apache.nutch.parse.Parser
> class=org.apache.nutch.parse.html.HtmlParser
> 050717 084206 parsing:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-js/plugin.xml
> 050717 084206 impl:
> point=org.apache.nutch.parse.Parser
> class=org.apache.nutch.parse.js.JSParseFilter
> 050717 084206 impl:
> point=org.apache.nutch.parse.HtmlParseFilter
> class=org.apache.nutch.parse.js.JSParseFilter
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-msword
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-pdf
> 050717 084206 parsing:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-text/plugin.xml
> 050717 084206 impl:
> point=org.apache.nutch.parse.Parser
> class=org.apache.nutch.parse.text.TextParser
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-file
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-ftp
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-http
> 050717 084206 parsing:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-httpclient/plugin.xml
> 050717 084206 impl:
> point=org.apache.nutch.protocol.Protocol
> class=org.apache.nutch.protocol.httpclient.Http
> 050717 084206 impl:
> point=org.apache.nutch.protocol.Protocol
> class=org.apache.nutch.protocol.httpclient.Http
> 050717 084206 parsing:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-basic/plugin.xml
> 050717 084206 impl:
> point=org.apache.nutch.searcher.QueryFilter
>
class=org.apache.nutch.searcher.basic.BasicQueryFilter
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-more
> 050717 084206 parsing:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-site/plugin.xml
> 050717 084206 impl:
> point=org.apache.nutch.searcher.QueryFilter
> class=org.apache.nutch.searcher.site.SiteQueryFilter
> 050717 084206 parsing:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-url/plugin.xml
> 050717 084206 impl:
> point=org.apache.nutch.searcher.QueryFilter
> class=org.apache.nutch.searcher.url.URLQueryFilter
> 050717 084206 not including:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/urlfilter-prefix
> 050717 084206 parsing:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/urlfilter-regex/plugin.xml
> 050717 084206 impl:
> point=org.apache.nutch.net.URLFilter
> class=org.apache.nutch.net.RegexURLFilter
> 050717 084206 11 creating new bean
> 050717 084206 11 opening segment indexes in
> /home/fji/SE/tomcat4/segments
> 050717 084207 11 query request from 127.0.0.1
> 050717 084207 11 query: commer
> 050717 084207 11 searching for 20 raw hits
> 050717 084207 11 total hits: 0
> Stopping service Tomcat-Standalone
> 
> 
> Jul 17, 2005 8:41:54 AM
> org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8888
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.31
> The scratchDir you specified:
>
/home/fji/SE/tomcat4/work/Standalone/localhost/examples
> is unusable.
> Jul 17, 2005 8:41:56 AM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
> config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Jul 17, 2005 8:41:56 AM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
> config='org.apache.struts.action.ActionResources',
> returnNull=true
> Jul 17, 2005 8:41:56 AM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
>
config='org.apache.webapp.admin.ApplicationResources',
> returnNull=true
> The scratchDir you specified:
> /home/fji/SE/tomcat4/work/Standalone/localhost/admin
> is unusable.
> The scratchDir you specified:
>
/home/fji/SE/tomcat4/work/Standalone/localhost/manager
> is unusable.
> The scratchDir you specified:
> /home/fji/SE/tomcat4/work/Standalone/localhost/_ is
> unusable.
> The scratchDir you specified:
>
/home/fji/SE/tomcat4/work/Standalone/localhost/tomcat-docs
> is unusable.
> The scratchDir you specified:
>
/home/fji/SE/tomcat4/work/Standalone/localhost/webdav
> is unusable.
> Jul 17, 2005 8:41:59 AM
> org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8888
> Jul 17, 2005 8:41:59 AM
> org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> Jul 17, 2005 8:41:59 AM org.apache.jk.server.JkMain
> start
> INFO: Jk running ID=0 time=1/110 
> config=/home/fji/SE/tomcat4/conf/jk2.properties
> 050717 084206 parsing
>
file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-default.xml
> 050717 084206 parsing
>
file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-site.xml
> 050717 084206 Plugins: looking in:
>
/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins
> 
=== message truncated ===



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

RE: Nutch returning NULL Result

Posted by "Feng (Michael) Ji" <fj...@yahoo.com>.
It works, thanks a lot,

Michael,

--- Howie Wang <ho...@hotmail.com> wrote:

> nutch.org is probably a bad example page to use
> for a quick single-site test because it redirects to
> http://lucene.apache.org/nutch, which might be
> filtered out according to your urlfilter.txt. I
> believe
> it depends on which http-protocol plugin you're
> using though.
> 
> What if you change your example to
> http://lucene.apache.org/nutch.  You might
> also want to change your example to just use
> a depth of 2 so that it doesn't take too long
> and it doesn't suck up too much bandwidth.
> 
> 
> ># accept hosts in MY.DOMAIN.NAME
> >+^http://([a-z0-9]*\.)*nutch.org/
> >
> ># skip everything else
> >-.
> >
> >
> >--- Howie Wang <ho...@hotmail.com> wrote:
> >
> > > Maybe you should post your crawl log and
> > > your crawl-urlfilter.txt file. It's usually a
> > > a typo in the url filter that causes probs for
> me.
> > >
> > >
> > > >I am a new commer to the Nutch world.
> > > >
> > > >After install Nutch and Tomcat in my linux box,
> I
> > > >tried to crawl a single url.
> > > >
> > > >Using command of
> > > >"
> > > >bin/nutch crawl url2 -dir crawl2 -depth 3 >&
> > > >crawl2.log
> > > >"
> > > >
> > > >my url2 is a plain text file with content of
> > > >"http://www.nutch.org/" and I do change
> > > >"urlfilter.txt"
> > > >
> > > >But, after crawling, I checked the crawl.log,
> seems
> > > it
> > > >didn't fetch anything.
> > > >
> > > >"
> > > >050717 083918 DONE indexing segment
> 20050717083916:
> > > >total 0 records in 0.19 s (NaN rec/s).
> > > >"
> > > >
> > > >And the search result is return NULL in web UI.
> > > >
> > > >Any suggestion will be very helpful,
> > > >
> > > >thanks,
> > > >
> > > >Michael,
> > > >
> > > >FYI, I attached the catalina log file for the
> > > search
> > > >hit;
> > > >
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/work/Standalone/localhost/examples
> > > > > is unusable.
> > > > > Jul 17, 2005 8:41:56 AM
> > > > >
> org.apache.struts.util.PropertyMessageResources
> > > > > <init>
> > > > > INFO: Initializing,
> > > > >
> config='org.apache.struts.util.LocalStrings',
> > > > > returnNull=true
> > > > > Jul 17, 2005 8:41:56 AM
> > > > >
> org.apache.struts.util.PropertyMessageResources
> > > > > <init>
> > > > > INFO: Initializing,
> > > > >
> > >
> config='org.apache.struts.action.ActionResources',
> > > > > returnNull=true
> > > > > Jul 17, 2005 8:41:56 AM
> > > > >
> org.apache.struts.util.PropertyMessageResources
> > > > > <init>
> > > > > INFO: Initializing,
> > > > >
> > >
> >
>
>config='org.apache.webapp.admin.ApplicationResources',
> > > > > returnNull=true
> > > > > The scratchDir you specified:
> > > > >
> > >
> /home/fji/SE/tomcat4/work/Standalone/localhost/admin
> > > > > is unusable.
> > > > > The scratchDir you specified:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/work/Standalone/localhost/manager
> > > > > is unusable.
> > > > > The scratchDir you specified:
> > > > >
> /home/fji/SE/tomcat4/work/Standalone/localhost/_
> > > is
> > > > > unusable.
> > > > > The scratchDir you specified:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/work/Standalone/localhost/tomcat-docs
> > > > > is unusable.
> > > > > The scratchDir you specified:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/work/Standalone/localhost/webdav
> > > > > is unusable.
> > > > > Jul 17, 2005 8:41:59 AM
> > > > > org.apache.coyote.http11.Http11Protocol
> start
> > > > > INFO: Starting Coyote HTTP/1.1 on http-8888
> > > > > Jul 17, 2005 8:41:59 AM
> > > > > org.apache.jk.common.ChannelSocket init
> > > > > INFO: JK2: ajp13 listening on /0.0.0.0:8009
> > > > > Jul 17, 2005 8:41:59 AM
> > > org.apache.jk.server.JkMain
> > > > > start
> > > > > INFO: Jk running ID=0 time=1/110
> > > > >
> config=/home/fji/SE/tomcat4/conf/jk2.properties
> > > > > 050717 084206 parsing
> > > > >
> > >
> >
>
>file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-default.xml
> > > > > 050717 084206 parsing
> > > > >
> > >
> >
>
>file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-site.xml
> > > > > 050717 084206 Plugins: looking in:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins
> > > > > 050717 084206 not including:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/clustering-carrot2
> > > > > 050717 084206 not including:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/creativecommons
> > > > > 050717 084206 parsing:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/index-basic/plugin.xml
> > > > > 050717 084206 impl:
> > > > >
> point=org.apache.nutch.indexer.IndexingFilter
> > > > >
> > >
> >
>
>class=org.apache.nutch.indexer.basic.BasicIndexingFilter
> > > > > 050717 084206 not including:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/index-more
> > > > > 050717 084206 not including:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/language-identifier
> > > > > 050717 084206 not including:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/ontology
> > > > > 050717 084206 not including:
> > > > >
> > >
> >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-ext
> > > > > 050717 084206 parsing:
> > > > >
> 
=== message truncated ===



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

RE: Nutch returning NULL Result

Posted by Howie Wang <ho...@hotmail.com>.
nutch.org is probably a bad example page to use
for a quick single-site test because it redirects to
http://lucene.apache.org/nutch, which might be
filtered out according to your urlfilter.txt. I believe
it depends on which http-protocol plugin you're
using though.

What if you change your example to
http://lucene.apache.org/nutch.  You might
also want to change your example to just use
a depth of 2 so that it doesn't take too long
and it doesn't suck up too much bandwidth.


># accept hosts in MY.DOMAIN.NAME
>+^http://([a-z0-9]*\.)*nutch.org/
>
># skip everything else
>-.
>
>
>--- Howie Wang <ho...@hotmail.com> wrote:
>
> > Maybe you should post your crawl log and
> > your crawl-urlfilter.txt file. It's usually a
> > a typo in the url filter that causes probs for me.
> >
> >
> > >I am a new commer to the Nutch world.
> > >
> > >After install Nutch and Tomcat in my linux box, I
> > >tried to crawl a single url.
> > >
> > >Using command of
> > >"
> > >bin/nutch crawl url2 -dir crawl2 -depth 3 >&
> > >crawl2.log
> > >"
> > >
> > >my url2 is a plain text file with content of
> > >"http://www.nutch.org/" and I do change
> > >"urlfilter.txt"
> > >
> > >But, after crawling, I checked the crawl.log, seems
> > it
> > >didn't fetch anything.
> > >
> > >"
> > >050717 083918 DONE indexing segment 20050717083916:
> > >total 0 records in 0.19 s (NaN rec/s).
> > >"
> > >
> > >And the search result is return NULL in web UI.
> > >
> > >Any suggestion will be very helpful,
> > >
> > >thanks,
> > >
> > >Michael,
> > >
> > >FYI, I attached the catalina log file for the
> > search
> > >hit;
> > >
> > > >
> >
> >/home/fji/SE/tomcat4/work/Standalone/localhost/examples
> > > > is unusable.
> > > > Jul 17, 2005 8:41:56 AM
> > > > org.apache.struts.util.PropertyMessageResources
> > > > <init>
> > > > INFO: Initializing,
> > > > config='org.apache.struts.util.LocalStrings',
> > > > returnNull=true
> > > > Jul 17, 2005 8:41:56 AM
> > > > org.apache.struts.util.PropertyMessageResources
> > > > <init>
> > > > INFO: Initializing,
> > > >
> > config='org.apache.struts.action.ActionResources',
> > > > returnNull=true
> > > > Jul 17, 2005 8:41:56 AM
> > > > org.apache.struts.util.PropertyMessageResources
> > > > <init>
> > > > INFO: Initializing,
> > > >
> >
> >config='org.apache.webapp.admin.ApplicationResources',
> > > > returnNull=true
> > > > The scratchDir you specified:
> > > >
> > /home/fji/SE/tomcat4/work/Standalone/localhost/admin
> > > > is unusable.
> > > > The scratchDir you specified:
> > > >
> >
> >/home/fji/SE/tomcat4/work/Standalone/localhost/manager
> > > > is unusable.
> > > > The scratchDir you specified:
> > > > /home/fji/SE/tomcat4/work/Standalone/localhost/_
> > is
> > > > unusable.
> > > > The scratchDir you specified:
> > > >
> >
> >/home/fji/SE/tomcat4/work/Standalone/localhost/tomcat-docs
> > > > is unusable.
> > > > The scratchDir you specified:
> > > >
> >
> >/home/fji/SE/tomcat4/work/Standalone/localhost/webdav
> > > > is unusable.
> > > > Jul 17, 2005 8:41:59 AM
> > > > org.apache.coyote.http11.Http11Protocol start
> > > > INFO: Starting Coyote HTTP/1.1 on http-8888
> > > > Jul 17, 2005 8:41:59 AM
> > > > org.apache.jk.common.ChannelSocket init
> > > > INFO: JK2: ajp13 listening on /0.0.0.0:8009
> > > > Jul 17, 2005 8:41:59 AM
> > org.apache.jk.server.JkMain
> > > > start
> > > > INFO: Jk running ID=0 time=1/110
> > > > config=/home/fji/SE/tomcat4/conf/jk2.properties
> > > > 050717 084206 parsing
> > > >
> >
> >file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-default.xml
> > > > 050717 084206 parsing
> > > >
> >
> >file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-site.xml
> > > > 050717 084206 Plugins: looking in:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/clustering-carrot2
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/creativecommons
> > > > 050717 084206 parsing:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/index-basic/plugin.xml
> > > > 050717 084206 impl:
> > > > point=org.apache.nutch.indexer.IndexingFilter
> > > >
> >
> >class=org.apache.nutch.indexer.basic.BasicIndexingFilter
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/index-more
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/language-identifier
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/ontology
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-ext
> > > > 050717 084206 parsing:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-html/plugin.xml
> > > > 050717 084206 impl:
> > > > point=org.apache.nutch.parse.Parser
> > > > class=org.apache.nutch.parse.html.HtmlParser
> > > > 050717 084206 parsing:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-js/plugin.xml
> > > > 050717 084206 impl:
> > > > point=org.apache.nutch.parse.Parser
> > > > class=org.apache.nutch.parse.js.JSParseFilter
> > > > 050717 084206 impl:
> > > > point=org.apache.nutch.parse.HtmlParseFilter
> > > > class=org.apache.nutch.parse.js.JSParseFilter
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-msword
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-pdf
> > > > 050717 084206 parsing:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-text/plugin.xml
> > > > 050717 084206 impl:
> > > > point=org.apache.nutch.parse.Parser
> > > > class=org.apache.nutch.parse.text.TextParser
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-file
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-ftp
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-http
> > > > 050717 084206 parsing:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-httpclient/plugin.xml
> > > > 050717 084206 impl:
> > > > point=org.apache.nutch.protocol.Protocol
> > > > class=org.apache.nutch.protocol.httpclient.Http
> > > > 050717 084206 impl:
> > > > point=org.apache.nutch.protocol.Protocol
> > > > class=org.apache.nutch.protocol.httpclient.Http
> > > > 050717 084206 parsing:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-basic/plugin.xml
> > > > 050717 084206 impl:
> > > > point=org.apache.nutch.searcher.QueryFilter
> > > >
> >
> >class=org.apache.nutch.searcher.basic.BasicQueryFilter
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-more
> > > > 050717 084206 parsing:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-site/plugin.xml
> > > > 050717 084206 impl:
> > > > point=org.apache.nutch.searcher.QueryFilter
> > > >
> > class=org.apache.nutch.searcher.site.SiteQueryFilter
> > > > 050717 084206 parsing:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-url/plugin.xml
> > > > 050717 084206 impl:
> > > > point=org.apache.nutch.searcher.QueryFilter
> > > >
> > class=org.apache.nutch.searcher.url.URLQueryFilter
> > > > 050717 084206 not including:
> > > >
> >
> >/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/urlfilter-prefix
> >
>=== message truncated ===
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com



RE: Nutch returning NULL Result

Posted by "Feng (Michael) Ji" <fj...@yahoo.com>.
I included my files, thanks,

Micheal,

my crawling.log
==========
050717 172454 parsing 
file:/home/fji/SE/nutch-nightly/conf/nutch-default.xml
050717 172454 parsing 
file:/home/fji/SE/nutch-nightly/conf/crawl-tool.xml
050717 172454 parsing 
file:/home/fji/SE/nutch-nightly/conf/nutch-site.xml
050717 172454 No FS indicated, using default:local
050717 172454 crawl started in: crawl5
050717 172454 rootUrlFile = url4
050717 172454 threads = 10
050717 172454 depth = 3
050717 172455 Created webdb at 
LocalFS,/home/fji/SE/nutch-nightly/crawl5/db
050717 172455 Starting URL processing
050717 172455 Plugins: looking in:
/home/fji/SE/nutch-nightly/plugins
050717 172455 parsing: 
/home/fji/SE/nutch-nightly/plugins/urlfilter-regex/plugin.xml
050717 172455 impl:
point=org.apache.nutch.net.URLFilter 
class=org.apache.nutch.net.RegexURLFilter
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/urlfilter-prefix
050717 172455 parsing: 
/home/fji/SE/nutch-nightly/plugins/query-url/plugin.xml
050717 172455 impl:
point=org.apache.nutch.searcher.QueryFilter 
class=org.apache.nutch.searcher.url.URLQueryFilter
050717 172455 parsing: 
/home/fji/SE/nutch-nightly/plugins/query-site/plugin.xml
050717 172455 impl:
point=org.apache.nutch.searcher.QueryFilter 
class=org.apache.nutch.searcher.site.SiteQueryFilter
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/query-more
050717 172455 parsing: 
/home/fji/SE/nutch-nightly/plugins/query-basic/plugin.xml
050717 172455 impl:
point=org.apache.nutch.searcher.QueryFilter 
class=org.apache.nutch.searcher.basic.BasicQueryFilter
050717 172455 parsing: 
/home/fji/SE/nutch-nightly/plugins/protocol-httpclient/plugin.xml
050717 172455 impl:
point=org.apache.nutch.protocol.Protocol 
class=org.apache.nutch.protocol.httpclient.Http
050717 172455 impl:
point=org.apache.nutch.protocol.Protocol 
class=org.apache.nutch.protocol.httpclient.Http
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/protocol-http
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/protocol-ftp
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/protocol-file
050717 172455 parsing: 
/home/fji/SE/nutch-nightly/plugins/parse-text/plugin.xml
050717 172455 impl:
point=org.apache.nutch.parse.Parser 
class=org.apache.nutch.parse.text.TextParser
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/parse-pdf
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/parse-msword
050717 172455 parsing: 
/home/fji/SE/nutch-nightly/plugins/parse-js/plugin.xml
050717 172455 impl:
point=org.apache.nutch.parse.Parser 
class=org.apache.nutch.parse.js.JSParseFilter
050717 172455 impl:
point=org.apache.nutch.parse.HtmlParseFilter 
class=org.apache.nutch.parse.js.JSParseFilter
050717 172455 parsing: 
/home/fji/SE/nutch-nightly/plugins/parse-html/plugin.xml
050717 172455 impl:
point=org.apache.nutch.parse.Parser 
class=org.apache.nutch.parse.html.HtmlParser
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/parse-ext
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/ontology
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/language-identifier
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/index-more
050717 172455 parsing: 
/home/fji/SE/nutch-nightly/plugins/index-basic/plugin.xml
050717 172455 impl:
point=org.apache.nutch.indexer.IndexingFilter 
class=org.apache.nutch.indexer.basic.BasicIndexingFilter
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/creativecommons
050717 172455 not including: 
/home/fji/SE/nutch-nightly/plugins/clustering-carrot2
050717 172455 found resource crawl-urlfilter.txt at 
file:/home/fji/SE/nutch-nightly/conf/crawl-urlfilter.txt
050717 172455 Using URL normalizer: 
org.apache.nutch.net.BasicUrlNormalizer
050717 172455 Added 1 pages
050717 172455 Processing pagesByURL: Sorted 1
instructions in 0.0080 
seconds.
050717 172455 Processing pagesByURL: Sorted 125.0
instructions/second
050717 172455 Processing pagesByURL: Merged to new DB
containing 1 
records in 0.0020 seconds
050717 172455 Processing pagesByURL: Merged 500.0
records/second
050717 172455 Processing pagesByMD5: Sorted 1
instructions in 0.0020 
seconds.
050717 172455 Processing pagesByMD5: Sorted 500.0
instructions/second
050717 172455 Processing pagesByMD5: Merged to new DB
containing 1 
records in 0.0 seconds
050717 172455 Processing pagesByMD5: Merged Infinity
records/second
050717 172455 Processing linksByMD5: Copied file (4096
bytes) in 0.0040 
secs.
050717 172455 Processing linksByURL: Copied file (4096
bytes) in 0.0030 
secs.
050717 172455 FetchListTool started
050717 172455 Processing pagesByURL: Sorted 1
instructions in 0.0030 
seconds.
050717 172455 Processing pagesByURL: Sorted
333.3333333333333 
instructions/second
050717 172455 Processing pagesByURL: Merged to new DB
containing 1 
records in 0.0010 seconds
050717 172455 Processing pagesByURL: Merged 1000.0
records/second
050717 172455 Processing pagesByMD5: Sorted 1
instructions in 0.0020 
seconds.
050717 172455 Processing pagesByMD5: Sorted 500.0
instructions/second
050717 172455 Processing pagesByMD5: Merged to new DB
containing 1 
records in 0.0 seconds
050717 172455 Processing pagesByMD5: Merged Infinity
records/second
050717 172455 Processing linksByMD5: Copied file (4096
bytes) in 0.0010 
secs.
050717 172455 Processing linksByURL: Copied file (4096
bytes) in 0.0010 
secs.
050717 172455 Processing 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172455/fetchlist.unsorted:
Sorted 1 entries in 0.0020 seconds.
050717 172455 Processing 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172455/fetchlist.unsorted:
Sorted 500.0 entries/second
050717 172455 Overall processing: Sorted 1 entries in
0.0020 seconds.
050717 172455 Overall processing: Sorted 0.0020
entries/second
050717 172455 FetchListTool completed
050717 172455 logging at INFO
050717 172455 fetching http://www.nutch.org/
050717 172455 http.proxy.host = null
050717 172455 http.proxy.port = 8080
050717 172455 http.timeout = 10000
050717 172455 http.content.limit = 65536
050717 172455 http.agent = NutchCVS/0.06-dev (Nutch; 
http://www.nutch.org/docs/en/bot.html; 
nutch-agent@lists.sourceforge.net)
050717 172455 http.auth.ntlm.username = 
050717 172455 fetcher.server.delay = 1000
050717 172455 http.max.delays = 100
050717 172456 Configured Client
050717 172457 Updating
/home/fji/SE/nutch-nightly/crawl5/db
050717 172457 Updating for 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172455
050717 172457 Processing document 0
050717 172457 Finishing update
050717 172457 Processing pagesByURL: Sorted 1
instructions in 0.0020 
seconds.
050717 172457 Processing pagesByURL: Sorted 500.0
instructions/second
050717 172457 Processing pagesByURL: Merged to new DB
containing 1 
records in 0.0 seconds
050717 172457 Processing pagesByURL: Merged Infinity
records/second
050717 172457 Processing pagesByMD5: Sorted 1
instructions in 0.0030 
seconds.
050717 172457 Processing pagesByMD5: Sorted
333.3333333333333 
instructions/second
050717 172457 Processing pagesByMD5: Merged to new DB
containing 1 
records in 0.0 seconds
050717 172457 Processing pagesByMD5: Merged Infinity
records/second
050717 172457 Processing linksByMD5: Copied file (4096
bytes) in 0.0010 
secs.
050717 172457 Processing linksByURL: Copied file (4096
bytes) in 0.0010 
secs.
050717 172458 Update finished
050717 172458 FetchListTool started
050717 172458 Overall processing: Sorted 0 entries in
0.0 seconds.
050717 172458 Overall processing: Sorted NaN
entries/second
050717 172458 FetchListTool completed
050717 172458 logging at INFO
050717 172459 Updating
/home/fji/SE/nutch-nightly/crawl5/db
050717 172459 Updating for 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172458
050717 172459 Finishing update
050717 172459 Update finished
050717 172459 FetchListTool started
050717 172459 Overall processing: Sorted 0 entries in
0.0 seconds.
050717 172459 Overall processing: Sorted NaN
entries/second
050717 172459 FetchListTool completed
050717 172459 logging at INFO
050717 172500 Updating
/home/fji/SE/nutch-nightly/crawl5/db
050717 172500 Updating for 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172459
050717 172500 Finishing update
050717 172500 Update finished
050717 172500 Updating
/home/fji/SE/nutch-nightly/crawl5/segments from 
/home/fji/SE/nutch-nightly/crawl5/db
050717 172500  reading 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172455
050717 172500  reading 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172458
050717 172500  reading 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172459
050717 172500 Sorting pages by url...
050717 172500 Getting updated scores and anchors from
db...
050717 172500 Sorting updates by segment...
050717 172500 Updating segments...
050717 172500  updating 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172455
050717 172500 Done updating
/home/fji/SE/nutch-nightly/crawl5/segments 
from /home/fji/SE/nutch-nightly/crawl5/db
050717 172500 indexing segment: 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172455
050717 172500 * Opening segment 20050717172455
050717 172500 * Indexing segment 20050717172455
050717 172500 * Optimizing index...
050717 172500 * Moving index to NFS if needed...
050717 172500 DONE indexing segment 20050717172455:
total 1 records in 
0.02 s (Infinity rec/s).
050717 172500 done indexing
050717 172500 indexing segment: 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172458
050717 172500 * Opening segment 20050717172458
050717 172500 * Indexing segment 20050717172458
050717 172500 * Optimizing index...
050717 172500 * Moving index to NFS if needed...
050717 172500 DONE indexing segment 20050717172458:
total 0 records in 
0.0090 s (NaN rec/s).
050717 172500 done indexing
050717 172500 indexing segment: 
/home/fji/SE/nutch-nightly/crawl5/segments/20050717172459
050717 172500 * Opening segment 20050717172459
050717 172500 * Indexing segment 20050717172459
050717 172500 * Optimizing index...
050717 172500 * Moving index to NFS if needed...
050717 172500 DONE indexing segment 20050717172459:
total 0 records in 
0.0080 s (NaN rec/s).
050717 172500 done indexing
050717 172500 Reading url hashes...
050717 172500 Sorting url hashes...
050717 172500 Deleting url duplicates...
050717 172500 Deleted 0 url duplicates.
050717 172500 Reading content hashes...
050717 172500 Sorting content hashes...
050717 172500 Deleting content duplicates...
050717 172500 Deleted 0 content duplicates.
050717 172500 Duplicate deletion complete locally. 
Now returning to 
NFS...
050717 172500 DeleteDuplicates complete
050717 172500 Merging segment indexes... 
050717 172500 crawl finished: crawl5

my crawl-filter.txt
===========
# The url filter file used by the crawl command.

# Better for intranet crawling.
# Be sure to change MY.DOMAIN.NAME to your domain
name.

# Each non-comment, non-blank line contains a regular
expression
# prefixed by '+' or '-'.  The first matching pattern
in the file
# determines whether a URL is included or ignored.  If
no pattern
# matches, the URL is ignored.

# skip file:, ftp:, & mailto: urls
-^(file|ftp|mailto):

# skip image and other suffixes we can't yet parse
-\.(gif|GIF|jpg|JPG|ico|ICO|css|sit|eps|wmf|zip|ppt|mpg|xls|gz|rpm|tgz|mov|MOV|exe)$

# skip URLs containing certain characters as probable
queries, etc.
-[?*!@=]

# accept hosts in MY.DOMAIN.NAME
+^http://([a-z0-9]*\.)*nutch.org/

# skip everything else
-.


--- Howie Wang <ho...@hotmail.com> wrote:

> Maybe you should post your crawl log and
> your crawl-urlfilter.txt file. It's usually a
> a typo in the url filter that causes probs for me.
> 
> 
> >I am a new commer to the Nutch world.
> >
> >After install Nutch and Tomcat in my linux box, I
> >tried to crawl a single url.
> >
> >Using command of
> >"
> >bin/nutch crawl url2 -dir crawl2 -depth 3 >&
> >crawl2.log
> >"
> >
> >my url2 is a plain text file with content of
> >"http://www.nutch.org/" and I do change
> >"urlfilter.txt"
> >
> >But, after crawling, I checked the crawl.log, seems
> it
> >didn't fetch anything.
> >
> >"
> >050717 083918 DONE indexing segment 20050717083916:
> >total 0 records in 0.19 s (NaN rec/s).
> >"
> >
> >And the search result is return NULL in web UI.
> >
> >Any suggestion will be very helpful,
> >
> >thanks,
> >
> >Michael,
> >
> >FYI, I attached the catalina log file for the
> search
> >hit;
> >
> > >
>
>/home/fji/SE/tomcat4/work/Standalone/localhost/examples
> > > is unusable.
> > > Jul 17, 2005 8:41:56 AM
> > > org.apache.struts.util.PropertyMessageResources
> > > <init>
> > > INFO: Initializing,
> > > config='org.apache.struts.util.LocalStrings',
> > > returnNull=true
> > > Jul 17, 2005 8:41:56 AM
> > > org.apache.struts.util.PropertyMessageResources
> > > <init>
> > > INFO: Initializing,
> > >
> config='org.apache.struts.action.ActionResources',
> > > returnNull=true
> > > Jul 17, 2005 8:41:56 AM
> > > org.apache.struts.util.PropertyMessageResources
> > > <init>
> > > INFO: Initializing,
> > >
>
>config='org.apache.webapp.admin.ApplicationResources',
> > > returnNull=true
> > > The scratchDir you specified:
> > >
> /home/fji/SE/tomcat4/work/Standalone/localhost/admin
> > > is unusable.
> > > The scratchDir you specified:
> > >
>
>/home/fji/SE/tomcat4/work/Standalone/localhost/manager
> > > is unusable.
> > > The scratchDir you specified:
> > > /home/fji/SE/tomcat4/work/Standalone/localhost/_
> is
> > > unusable.
> > > The scratchDir you specified:
> > >
>
>/home/fji/SE/tomcat4/work/Standalone/localhost/tomcat-docs
> > > is unusable.
> > > The scratchDir you specified:
> > >
>
>/home/fji/SE/tomcat4/work/Standalone/localhost/webdav
> > > is unusable.
> > > Jul 17, 2005 8:41:59 AM
> > > org.apache.coyote.http11.Http11Protocol start
> > > INFO: Starting Coyote HTTP/1.1 on http-8888
> > > Jul 17, 2005 8:41:59 AM
> > > org.apache.jk.common.ChannelSocket init
> > > INFO: JK2: ajp13 listening on /0.0.0.0:8009
> > > Jul 17, 2005 8:41:59 AM
> org.apache.jk.server.JkMain
> > > start
> > > INFO: Jk running ID=0 time=1/110
> > > config=/home/fji/SE/tomcat4/conf/jk2.properties
> > > 050717 084206 parsing
> > >
>
>file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-default.xml
> > > 050717 084206 parsing
> > >
>
>file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-site.xml
> > > 050717 084206 Plugins: looking in:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/clustering-carrot2
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/creativecommons
> > > 050717 084206 parsing:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/index-basic/plugin.xml
> > > 050717 084206 impl:
> > > point=org.apache.nutch.indexer.IndexingFilter
> > >
>
>class=org.apache.nutch.indexer.basic.BasicIndexingFilter
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/index-more
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/language-identifier
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/ontology
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-ext
> > > 050717 084206 parsing:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-html/plugin.xml
> > > 050717 084206 impl:
> > > point=org.apache.nutch.parse.Parser
> > > class=org.apache.nutch.parse.html.HtmlParser
> > > 050717 084206 parsing:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-js/plugin.xml
> > > 050717 084206 impl:
> > > point=org.apache.nutch.parse.Parser
> > > class=org.apache.nutch.parse.js.JSParseFilter
> > > 050717 084206 impl:
> > > point=org.apache.nutch.parse.HtmlParseFilter
> > > class=org.apache.nutch.parse.js.JSParseFilter
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-msword
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-pdf
> > > 050717 084206 parsing:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-text/plugin.xml
> > > 050717 084206 impl:
> > > point=org.apache.nutch.parse.Parser
> > > class=org.apache.nutch.parse.text.TextParser
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-file
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-ftp
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-http
> > > 050717 084206 parsing:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-httpclient/plugin.xml
> > > 050717 084206 impl:
> > > point=org.apache.nutch.protocol.Protocol
> > > class=org.apache.nutch.protocol.httpclient.Http
> > > 050717 084206 impl:
> > > point=org.apache.nutch.protocol.Protocol
> > > class=org.apache.nutch.protocol.httpclient.Http
> > > 050717 084206 parsing:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-basic/plugin.xml
> > > 050717 084206 impl:
> > > point=org.apache.nutch.searcher.QueryFilter
> > >
>
>class=org.apache.nutch.searcher.basic.BasicQueryFilter
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-more
> > > 050717 084206 parsing:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-site/plugin.xml
> > > 050717 084206 impl:
> > > point=org.apache.nutch.searcher.QueryFilter
> > >
> class=org.apache.nutch.searcher.site.SiteQueryFilter
> > > 050717 084206 parsing:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-url/plugin.xml
> > > 050717 084206 impl:
> > > point=org.apache.nutch.searcher.QueryFilter
> > >
> class=org.apache.nutch.searcher.url.URLQueryFilter
> > > 050717 084206 not including:
> > >
>
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/urlfilter-prefix
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

RE: Nutch returning NULL Result

Posted by Howie Wang <ho...@hotmail.com>.
Maybe you should post your crawl log and
your crawl-urlfilter.txt file. It's usually a
a typo in the url filter that causes probs for me.


>I am a new commer to the Nutch world.
>
>After install Nutch and Tomcat in my linux box, I
>tried to crawl a single url.
>
>Using command of
>"
>bin/nutch crawl url2 -dir crawl2 -depth 3 >&
>crawl2.log
>"
>
>my url2 is a plain text file with content of
>"http://www.nutch.org/" and I do change
>"urlfilter.txt"
>
>But, after crawling, I checked the crawl.log, seems it
>didn't fetch anything.
>
>"
>050717 083918 DONE indexing segment 20050717083916:
>total 0 records in 0.19 s (NaN rec/s).
>"
>
>And the search result is return NULL in web UI.
>
>Any suggestion will be very helpful,
>
>thanks,
>
>Michael,
>
>FYI, I attached the catalina log file for the search
>hit;
>
> >
>/home/fji/SE/tomcat4/work/Standalone/localhost/examples
> > is unusable.
> > Jul 17, 2005 8:41:56 AM
> > org.apache.struts.util.PropertyMessageResources
> > <init>
> > INFO: Initializing,
> > config='org.apache.struts.util.LocalStrings',
> > returnNull=true
> > Jul 17, 2005 8:41:56 AM
> > org.apache.struts.util.PropertyMessageResources
> > <init>
> > INFO: Initializing,
> > config='org.apache.struts.action.ActionResources',
> > returnNull=true
> > Jul 17, 2005 8:41:56 AM
> > org.apache.struts.util.PropertyMessageResources
> > <init>
> > INFO: Initializing,
> >
>config='org.apache.webapp.admin.ApplicationResources',
> > returnNull=true
> > The scratchDir you specified:
> > /home/fji/SE/tomcat4/work/Standalone/localhost/admin
> > is unusable.
> > The scratchDir you specified:
> >
>/home/fji/SE/tomcat4/work/Standalone/localhost/manager
> > is unusable.
> > The scratchDir you specified:
> > /home/fji/SE/tomcat4/work/Standalone/localhost/_ is
> > unusable.
> > The scratchDir you specified:
> >
>/home/fji/SE/tomcat4/work/Standalone/localhost/tomcat-docs
> > is unusable.
> > The scratchDir you specified:
> >
>/home/fji/SE/tomcat4/work/Standalone/localhost/webdav
> > is unusable.
> > Jul 17, 2005 8:41:59 AM
> > org.apache.coyote.http11.Http11Protocol start
> > INFO: Starting Coyote HTTP/1.1 on http-8888
> > Jul 17, 2005 8:41:59 AM
> > org.apache.jk.common.ChannelSocket init
> > INFO: JK2: ajp13 listening on /0.0.0.0:8009
> > Jul 17, 2005 8:41:59 AM org.apache.jk.server.JkMain
> > start
> > INFO: Jk running ID=0 time=1/110
> > config=/home/fji/SE/tomcat4/conf/jk2.properties
> > 050717 084206 parsing
> >
>file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-default.xml
> > 050717 084206 parsing
> >
>file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-site.xml
> > 050717 084206 Plugins: looking in:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/clustering-carrot2
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/creativecommons
> > 050717 084206 parsing:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/index-basic/plugin.xml
> > 050717 084206 impl:
> > point=org.apache.nutch.indexer.IndexingFilter
> >
>class=org.apache.nutch.indexer.basic.BasicIndexingFilter
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/index-more
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/language-identifier
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/ontology
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-ext
> > 050717 084206 parsing:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-html/plugin.xml
> > 050717 084206 impl:
> > point=org.apache.nutch.parse.Parser
> > class=org.apache.nutch.parse.html.HtmlParser
> > 050717 084206 parsing:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-js/plugin.xml
> > 050717 084206 impl:
> > point=org.apache.nutch.parse.Parser
> > class=org.apache.nutch.parse.js.JSParseFilter
> > 050717 084206 impl:
> > point=org.apache.nutch.parse.HtmlParseFilter
> > class=org.apache.nutch.parse.js.JSParseFilter
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-msword
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-pdf
> > 050717 084206 parsing:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/parse-text/plugin.xml
> > 050717 084206 impl:
> > point=org.apache.nutch.parse.Parser
> > class=org.apache.nutch.parse.text.TextParser
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-file
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-ftp
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-http
> > 050717 084206 parsing:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/protocol-httpclient/plugin.xml
> > 050717 084206 impl:
> > point=org.apache.nutch.protocol.Protocol
> > class=org.apache.nutch.protocol.httpclient.Http
> > 050717 084206 impl:
> > point=org.apache.nutch.protocol.Protocol
> > class=org.apache.nutch.protocol.httpclient.Http
> > 050717 084206 parsing:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-basic/plugin.xml
> > 050717 084206 impl:
> > point=org.apache.nutch.searcher.QueryFilter
> >
>class=org.apache.nutch.searcher.basic.BasicQueryFilter
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-more
> > 050717 084206 parsing:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-site/plugin.xml
> > 050717 084206 impl:
> > point=org.apache.nutch.searcher.QueryFilter
> > class=org.apache.nutch.searcher.site.SiteQueryFilter
> > 050717 084206 parsing:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/query-url/plugin.xml
> > 050717 084206 impl:
> > point=org.apache.nutch.searcher.QueryFilter
> > class=org.apache.nutch.searcher.url.URLQueryFilter
> > 050717 084206 not including:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/urlfilter-prefix
> > 050717 084206 parsing:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins/urlfilter-regex/plugin.xml
> > 050717 084206 impl:
> > point=org.apache.nutch.net.URLFilter
> > class=org.apache.nutch.net.RegexURLFilter
> > 050717 084206 11 creating new bean
> > 050717 084206 11 opening segment indexes in
> > /home/fji/SE/tomcat4/segments
> > 050717 084207 11 query request from 127.0.0.1
> > 050717 084207 11 query: commer
> > 050717 084207 11 searching for 20 raw hits
> > 050717 084207 11 total hits: 0
> > Stopping service Tomcat-Standalone
> >
> >
> > Jul 17, 2005 8:41:54 AM
> > org.apache.coyote.http11.Http11Protocol init
> > INFO: Initializing Coyote HTTP/1.1 on http-8888
> > Starting service Tomcat-Standalone
> > Apache Tomcat/4.1.31
> > The scratchDir you specified:
> >
>/home/fji/SE/tomcat4/work/Standalone/localhost/examples
> > is unusable.
> > Jul 17, 2005 8:41:56 AM
> > org.apache.struts.util.PropertyMessageResources
> > <init>
> > INFO: Initializing,
> > config='org.apache.struts.util.LocalStrings',
> > returnNull=true
> > Jul 17, 2005 8:41:56 AM
> > org.apache.struts.util.PropertyMessageResources
> > <init>
> > INFO: Initializing,
> > config='org.apache.struts.action.ActionResources',
> > returnNull=true
> > Jul 17, 2005 8:41:56 AM
> > org.apache.struts.util.PropertyMessageResources
> > <init>
> > INFO: Initializing,
> >
>config='org.apache.webapp.admin.ApplicationResources',
> > returnNull=true
> > The scratchDir you specified:
> > /home/fji/SE/tomcat4/work/Standalone/localhost/admin
> > is unusable.
> > The scratchDir you specified:
> >
>/home/fji/SE/tomcat4/work/Standalone/localhost/manager
> > is unusable.
> > The scratchDir you specified:
> > /home/fji/SE/tomcat4/work/Standalone/localhost/_ is
> > unusable.
> > The scratchDir you specified:
> >
>/home/fji/SE/tomcat4/work/Standalone/localhost/tomcat-docs
> > is unusable.
> > The scratchDir you specified:
> >
>/home/fji/SE/tomcat4/work/Standalone/localhost/webdav
> > is unusable.
> > Jul 17, 2005 8:41:59 AM
> > org.apache.coyote.http11.Http11Protocol start
> > INFO: Starting Coyote HTTP/1.1 on http-8888
> > Jul 17, 2005 8:41:59 AM
> > org.apache.jk.common.ChannelSocket init
> > INFO: JK2: ajp13 listening on /0.0.0.0:8009
> > Jul 17, 2005 8:41:59 AM org.apache.jk.server.JkMain
> > start
> > INFO: Jk running ID=0 time=1/110
> > config=/home/fji/SE/tomcat4/conf/jk2.properties
> > 050717 084206 parsing
> >
>file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-default.xml
> > 050717 084206 parsing
> >
>file:/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/nutch-site.xml
> > 050717 084206 Plugins: looking in:
> >
>/home/fji/SE/tomcat4/webapps/ROOT/WEB-INF/classes/plugins
> >
>=== message truncated ===
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com