You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by cemsoft <bc...@yahoo.com> on 2009/02/18 16:35:26 UTC

indexing a website

hi all,

as a newbie in nutch i have a question related to crawling.
i want to index a webpage (www.myPage.com)

i have a file, its name is urls, which contains only one link
(www.myPage.com) 
what i will is to index only pages whose url starts with
http://www.myPage.com/view.php?
therefore i have a pattern like

+^http://www.myPage.com/view.php?  (in conf/crawl-urlfilter.txt)

so 
after calling crawl command in cygwin

bin/nutch crawl urls -dir myurl -depth 2

i have only one page in db ??
bin/nutch readdb crawl-tinysite/db -stats

what do i miss ???
should i write all the urls to file??
Although there are many other pages with given url pattern ??

any idea appreciated

regards cem

-- 
View this message in context: http://www.nabble.com/indexing-a-website-tp22081266p22081266.html
Sent from the Nutch - User mailing list archive at Nabble.com.


Re: indexing a website

Posted by ahammad <ah...@gmail.com>.
Hello,

Take a look at this property in the crawl filter file:

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

Your pages likely have a '?' in them. Remove that from the above line and
try recrawling.

Cheers and good luck!


cemsoft wrote:
> 
> hi all,
> 
> as a newbie in nutch i have a question related to crawling.
> i want to index a webpage (www.myPage.com)
> 
> i have a file, its name is urls, which contains only one link
> (www.myPage.com) 
> what i will is to index only pages whose url starts with
> http://www.myPage.com/view.php?
> therefore i have a pattern like
> 
> +^http://www.myPage.com/view.php?  (in conf/crawl-urlfilter.txt)
> 
> so 
> after calling crawl command in cygwin
> 
> bin/nutch crawl urls -dir myurl -depth 2
> 
> i have only one page in db ??
> bin/nutch readdb crawl-tinysite/db -stats
> 
> what do i miss ???
> should i write all the urls to file??
> Although there are many other pages with given url pattern ??
> 
> any idea appreciated
> 
> regards cem
> 
> 

-- 
View this message in context: http://www.nabble.com/indexing-a-website-tp22081266p22082824.html
Sent from the Nutch - User mailing list archive at Nabble.com.