Package org.apache.nutch.util
Class SitemapProcessor
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.nutch.util.SitemapProcessor
- All Implemented Interfaces:
Configurable,Tool
Performs sitemap processing by fetching sitemap links, parsing the content and merging the URLs from sitemaps (with the metadata) into the CrawlDb.
There are two use cases supported in Nutch's sitemap processing:
- Sitemaps are considered as "remote seed lists". Crawl administrators can prepare a list of sitemap links and inject and fetch only the pages listed in the sitemaps. This suits well for targeted crawl of specific hosts.
- For an open web crawl, it is not possible to track each host and get the sitemap links manually. Nutch automatically detects the sitemaps for all hosts seen in the crawls and present in the HostDb and injects the URLs from the sitemaps into the CrawlDb.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Field Details
-
sdf
-
CURRENT_NAME
- See Also:
-
LOCK_NAME
- See Also:
-
SITEMAP_STRICT_PARSING
- See Also:
-
SITEMAP_URL_FILTERING
- See Also:
-
SITEMAP_URL_NORMALIZING
- See Also:
-
SITEMAP_ALWAYS_TRY_SITEMAPXML_ON_ROOT
- See Also:
-
SITEMAP_OVERWRITE_EXISTING
- See Also:
-
SITEMAP_REDIR_MAX
- See Also:
-
SITEMAP_SIZE_MAX
- See Also:
-
-
Constructor Details
-
SitemapProcessor
public SitemapProcessor()
-
-
Method Details