You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (Jira)" <ji...@apache.org> on 2022/11/24 13:20:00 UTC

[jira] [Created] (NUTCH-2976) SitemapProcessor: verify sitemap values added from sitemap to CrawlDB (priority, modification time and change frequency)

Sebastian Nagel created NUTCH-2976:
--------------------------------------

             Summary: 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
             Fix For: 1.20


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)