[
https://issues.apache.org/jira/browse/NUTCH-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Jelsma updated NUTCH-1024:
---------------------------------
Attachment: MimeAdaptiveFetchSchedule.java
adaptive-mimetypes.txt
New version that allows for separate inc and dec rate values per MIME-type.
Conf file format is now: mime\tinc_rate\tdec_rate. Code uses internal struct
for storing rates per mime in a hashmap.
Please comment.
> 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.4
>
> Attachments: AdaptiveFetchSchedule.patch,
> MimeAdaptiveFetchSchedule.java, 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira