Skip to main content

StdRobotsTxtFilter

A reference filter that enforces robots.txt rules on crawled URLs.

Notes

A reference filter that applies robots.txt rules to crawled URLs. URLs that are disallowed by the site's robots.txt directives are excluded from crawling.

Usage

onMatch: INCLUDE
valueMatcher:
ignoreCase: false
ignoreDiacritic: false
matchEmpty: false
method: BASIC
negateMatches: false
partial: false
pattern: string
replaceAll: false
trim: false

Properties

PropertyTypeRequiredDefault
onMatchenumNo-
valueMatcherTextMatcherNoTextMatcher

Property Details

onMatch

The action to take when a URL matches the robots.txt rule. INCLUDE means the URL is allowed; EXCLUDE means the URL is disallowed and will be skipped.

Allowed Values

  • INCLUDE
  • EXCLUDE

valueMatcher

Matches document field values based on specified patterns and methods. Use this to restrict the handler to operate only on fields whose values satisfy the matcher criteria.