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.