Skip to main content

LastModifiedMetadataChecksummer

Uses the exact value of the "Last-Modified" HTTP header field.

Notes

Generates a metadata checksum from the value of the HTTP Last-Modified response header. When the header value is unchanged from the previous crawl, the document is considered unmodified and may be skipped.

Examples

The following example will store the last modified date used for checksum purposes in a field called "metaChecksum".

class: LastModifiedMetadataChecksummer
keep: true
toField: metaChecksum

Usage

Full configuration skeleton, with every option and its default
class: LastModifiedMetadataChecksummer
keep: false
onSet: APPEND
toField: string

Properties

PropertyTypeRequiredDefault
keepbooleanNo-
onSetenumNo-
toFieldstringNo-

Property Details

keep

Add the checksum to the document metadata.

onSet

What to do if a target field of the same name already exist.

Allowed Values

  • APPEND
  • PREPEND
  • REPLACE
  • OPTIONAL

toField

A target field name used to store the value.