You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by abhayd <aj...@hotmail.com> on 2011/10/21 21:43:01 UTC

how to set Adaptive Fetch Schedule for cwarling?

hi 
As described in Nutch 1.3 wiki
http://wiki.apache.org/nutch/NutchTutorial#A3.2_Using_Individual_Commands_for_Whole-web_Crawling

I use step by step approach for crawling. As i understand by default "Retry
Interval for re-crawl is 30 days"

This is my first crawl..
And i see that when i use readdb command as shown below
------------------------------------------------------------
Status: 2 (db_fetched)
Fetch time: Sun Nov 20 12:12:41 CST 2011
Modified time: Wed Dec 31 18:00:00 CST 1969
Retries since fetch: 0
Retry interval: 2592000 seconds (30 days)
Score: 1.1867135
Signature: 06e53d9084967d457eb7d398b975b423
Metadata: _pst_: success(1), lastModified=0

I m not sure why lastMadified is 0 for all 10,000 urls i fetched. Any
thoughts?
Also how do i set Adaptive Fetch Schedule  for cwarling? Which command line
option is that ?



--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-set-Adaptive-Fetch-Schedule-for-cwarling-tp3441795p3441795.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: how to set Adaptive Fetch Schedule for cwarling?

Posted by abhayd <aj...@hotmail.com>.
i will respond on monday once in office..

--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-set-Adaptive-Fetch-Schedule-for-cwarling-tp3441795p3777050.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: how to set Adaptive Fetch Schedule for cwarling?

Posted by lazetics <la...@yahoo.com>.
Hi!

I'm also interested in this issue. Can you please post how you solve this
problem (e.g. command line for Adaptive Fetch Schedule).

Thanks!

--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-set-Adaptive-Fetch-Schedule-for-cwarling-tp3441795p3775246.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: how to set Adaptive Fetch Schedule for cwarling?

Posted by abhayd <aj...@hotmail.com>.
argg..

I got it !!!


--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-set-Adaptive-Fetch-Schedule-for-cwarling-tp3441795p3442177.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: how to set Adaptive Fetch Schedule for cwarling?

Posted by abhayd <aj...@hotmail.com>.
hi 
thanks
i see these properties in config file.

But how does nutch know if i want default schedule or adaptive?

Is that a command line option during crawl?



--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-set-Adaptive-Fetch-Schedule-for-cwarling-tp3441795p3442173.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: how to set Adaptive Fetch Schedule for cwarling?

Posted by Markus Jelsma <ma...@openindex.io>.
  <property>
   <name>db.fetch.schedule.class</name>
   <value>org.apache.nutch.crawl.AdaptiveFetchSchedule</value>
  </property>

Also, check nutch-default file for descriptions and other parameters for the 
AdaptiveFetchSchedule. It may need tuning. It's also a good idea to read the 
javadoc for the class as it explains the algorithm.

> Am 21.10.2011 21:43, schrieb abhayd:
> > hi
> > As described in Nutch 1.3 wiki
> > http://wiki.apache.org/nutch/NutchTutorial#A3.2_Using_Individual_Commands
> > _for_Whole-web_Crawling
> > 
> > I use step by step approach for crawling. As i understand by default
> > "Retry Interval for re-crawl is 30 days"
> > 
> > This is my first crawl..
> > And i see that when i use readdb command as shown below
> > ------------------------------------------------------------
> > Status: 2 (db_fetched)
> > Fetch time: Sun Nov 20 12:12:41 CST 2011
> > Modified time: Wed Dec 31 18:00:00 CST 1969
> > Retries since fetch: 0
> > Retry interval: 2592000 seconds (30 days)
> > Score: 1.1867135
> > Signature: 06e53d9084967d457eb7d398b975b423
> > Metadata: _pst_: success(1), lastModified=0
> > 
> > I m not sure why lastMadified is 0 for all 10,000 urls i fetched. Any
> > thoughts?
> 
> I think this is the case when the web server doesn't deliver the
> lastModified date of the page.
> 
> > Also how do i set Adaptive Fetch Schedule  for cwarling? Which command
> > line option is that ?
> > 
> > 
> > 
> > --
> > View this message in context:
> > http://lucene.472066.n3.nabble.com/how-to-set-Adaptive-Fetch-Schedule-fo
> > r-cwarling-tp3441795p3441795.html Sent from the Nutch - User mailing list
> > archive at Nabble.com.

Re: how to set Adaptive Fetch Schedule for cwarling?

Posted by Marek Bachmann <m....@uni-kassel.de>.
Am 21.10.2011 21:43, schrieb abhayd:
> hi
> As described in Nutch 1.3 wiki
> http://wiki.apache.org/nutch/NutchTutorial#A3.2_Using_Individual_Commands_for_Whole-web_Crawling
>
> I use step by step approach for crawling. As i understand by default "Retry
> Interval for re-crawl is 30 days"
>
> This is my first crawl..
> And i see that when i use readdb command as shown below
> ------------------------------------------------------------
> Status: 2 (db_fetched)
> Fetch time: Sun Nov 20 12:12:41 CST 2011
> Modified time: Wed Dec 31 18:00:00 CST 1969
> Retries since fetch: 0
> Retry interval: 2592000 seconds (30 days)
> Score: 1.1867135
> Signature: 06e53d9084967d457eb7d398b975b423
> Metadata: _pst_: success(1), lastModified=0
>
> I m not sure why lastMadified is 0 for all 10,000 urls i fetched. Any
> thoughts?

I think this is the case when the web server doesn't deliver the 
lastModified date of the page.

> Also how do i set Adaptive Fetch Schedule  for cwarling? Which command line
> option is that ?
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/how-to-set-Adaptive-Fetch-Schedule-for-cwarling-tp3441795p3441795.html
> Sent from the Nutch - User mailing list archive at Nabble.com.