[
https://issues.apache.org/jira/browse/NUTCH-2976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007220#comment-18007220
]
Hudson commented on NUTCH-2976:
-------------------------------
SUCCESS: Integrated in Jenkins build Nutch ยป Nutch-trunk #190 (See
[https://ci-builds.apache.org/job/Nutch/job/Nutch-trunk/190/])
NUTCH-2976 SitemapProcessor: verify sitemap values (snagel:
[https://github.com/apache/nutch/commit/312828602e09de2b59103f880b492fb994226108])
* (edit) src/java/org/apache/nutch/util/SitemapProcessor.java
> SitemapProcessor: verify sitemap values added from sitemap to CrawlDB
> (priority, modification time and change frequency)
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: NUTCH-2976
> URL: https://issues.apache.org/jira/browse/NUTCH-2976
> Project: Nutch
> Issue Type: Improvement
> Components: sitemap
> Affects Versions: 1.19
> Reporter: Sebastian Nagel
> Assignee: Sebastian Nagel
> Priority: Major
> Fix For: 1.21
>
>
> SitemapProcesser writes values from the sitemap into the CrawlDB without
> verification or plausibility check:
> - priority - used as CrawlDatum score
> - modification time
> - change frequency - used as fetch interval
> Since these values in the sitemap cannot be trusted, the processor should
> make sure that they are in acceptable ranges:
> - priority > 0.0 (a score of 0.0 would cause that a URL is never fetched)
> - modification time: not in the future
> - change frequency / fetch interval within
> [db.fetch.schedule.adaptive.min_interval, db.fetch.schedule.max_interval]
> See also NUTCH-2975
--
This message was sent by Atlassian Jira
(v8.20.10#820010)