[
https://issues.apache.org/jira/browse/NUTCH-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241207#comment-13241207
]
Lewis John McGibbney commented on NUTCH-1024:
---------------------------------------------
I like this Markus. Although I need to be honest and say that I've not had time
to give it a spin as of recent so apologies for this. It looks like the process
to date has been a bit frustrating so I apologize for not chipping in earlier.
Anyway, we don't rely on commons for logging, could you please replace this with
{code}
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
{code}
Another further point from me:
You make refernce to the following conf directories
{code}
SCHEDULE_INC_RATE = "db.fetch.schedule.adaptive.inc_rate";
SCHEDULE_DEC_RATE = "db.fetch.schedule.adaptive.dec_rate";
SCHEDULE_MIME_FILE = "db.fetch.schedule.mime.file";
{code}
Although I don't see the new MIME_FILE added to the patch, I also don't see the
INC and DEC properties added to nutch-default.xml
Thanks
> Dynamically set fetchInterval by MIME-type
> ------------------------------------------
>
> Key: NUTCH-1024
> URL: https://issues.apache.org/jira/browse/NUTCH-1024
> Project: Nutch
> Issue Type: New Feature
> Components: generator
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Minor
> Fix For: 1.5
>
> Attachments: AdaptiveFetchSchedule.patch,
> MimeAdaptiveFetchSchedule.java, NUTCH-1024-1.5-1.patch,
> NUTCH-1024-1.5-2.patch, Nutch.patch, adaptive-mimetypes.txt
>
>
> Add facility to configure default or fixed fetchInterval values by MIME-type.
> This is useful for conserving resources for files that are known to change
> frequently or never and everything in between.
> * simple key\tvalue\n configuration file
> * only set fetchInterval for new documents
> * keep max fetchInterval fixed by current config
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira