You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Richard Braman <rb...@bramantax.com> on 2006/03/13 08:24:35 UTC

FW: about nutch


-----Original Message-----
From: Alen [mailto:mail.2003@163.com] 
Sent: Monday, March 13, 2006 1:42 AM
To: rbraman
Subject: about nutch


Dear,rbraman
   
   First of all, thank you you can read this email.I have some problem
on nucth,could you give me some advise?
                    
   I followed the steps as the article on
http://wiki.apache.org/nutch/NutchTutorial.
   But I get some Exceptions when clicked the search button.

   My steps as follows:

1.mkdir db
mkdir segments
bin/nutch admin db -create
bin/nutch inject db/crawldb urls----(I think there is sth wrong wiht the
command,you could open the attachment to have a look:()

2.Fetching
bin/nutch generate db segments
s1=`ls -d segments/2* | tail -1` 
echo $s1 
bin/nutch fetch $s1
bin/nutch updatedb db $s1  
bin/nutch generate db segments -topN 1000 
s2=`ls -d segments/2* | tail -1`
echo $s2
bin/nutch fetch $s2
bin/nutch updatedb db $s2 
bin/nutch generate db segments -topN 1000 
s3=`ls -d segments/2* | tail -1`
echo $s3
bin/nutch fetch $s3
bin/nutch updatedb db $s3 

3.Indexing
bin/nutch index $s1
bin/nutch index $s2
bin/nutch index $s3  

4.It didn`t created the Index folder,and the the size of segments is
just 1.08K.So when I visited http://localhost:8080/ and click the search
button get some exceptions....

Would you please tell me where caused the problem? Thank you.

Best Wishes! 

Re: FW: about nutch

Posted by TDLN <di...@gmail.com>.
I can only speak for myself, but I would need the output from the different
Nutch commands to analyse this problem.

Rrgds. Thomas


On 3/13/06, Richard Braman <rb...@bramantax.com> wrote:
>
>
>
> -----Original Message-----
> From: Alen [mailto:mail.2003@163.com]
> Sent: Monday, March 13, 2006 1:42 AM
> To: rbraman
> Subject: about nutch
>
>
> Dear,rbraman
>
>   First of all, thank you you can read this email.I have some problem
> on nucth,could you give me some advise?
>
>   I followed the steps as the article on
> http://wiki.apache.org/nutch/NutchTutorial.
>   But I get some Exceptions when clicked the search button.
>
>   My steps as follows:
>
> 1.mkdir db
> mkdir segments
> bin/nutch admin db -create
> bin/nutch inject db/crawldb urls----(I think there is sth wrong wiht the
> command,you could open the attachment to have a look:()
>
> 2.Fetching
> bin/nutch generate db segments
> s1=`ls -d segments/2* | tail -1`
> echo $s1
> bin/nutch fetch $s1
> bin/nutch updatedb db $s1
> bin/nutch generate db segments -topN 1000
> s2=`ls -d segments/2* | tail -1`
> echo $s2
> bin/nutch fetch $s2
> bin/nutch updatedb db $s2
> bin/nutch generate db segments -topN 1000
> s3=`ls -d segments/2* | tail -1`
> echo $s3
> bin/nutch fetch $s3
> bin/nutch updatedb db $s3
>
> 3.Indexing
> bin/nutch index $s1
> bin/nutch index $s2
> bin/nutch index $s3
>
> 4.It didn`t created the Index folder,and the the size of segments is
> just 1.08K.So when I visited http://localhost:8080/ and click the search
> button get some exceptions....
>
> Would you please tell me where caused the problem? Thank you.
>
> Best Wishes!
>
>