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.