Class GenericRecrawlableResolver

java.lang.Object
com.norconex.crawler.web.doc.operations.recrawl.impl.GenericRecrawlableResolver
All Implemented Interfaces:
Configurable<GenericRecrawlableResolverConfig>, RecrawlableResolver

public class GenericRecrawlableResolver extends Object implements RecrawlableResolver, Configurable<GenericRecrawlableResolverConfig>

Relies on both sitemap directives and custom instructions for establishing the minimum frequency between each document recrawl.

Sitemap support:

Provided crawler support for sitemaps has not been disabled, this class tries to honor last modified and frequency directives found in sitemap files.

By default, existing sitemap directives take precedence over custom ones. You chose to have sitemap directives be considered last or even disable sitemap directives using the GenericRecrawlableResolverConfig.setSitemapSupport(SitemapSupport) method.

Custom recrawl frequencies:

You can chose to have some of your crawled documents be re-crawled less frequently than others by specifying custom minimum frequencies with (GenericRecrawlableResolverConfig.setMinFrequencies(Collection)). Minimum frequencies are processed in the order specified.

Since:
2.5.0