Skip to main content

CopyOperation

A single field copy operation specifying source fields and a target field.

Notesโ€‹

Defines a single field copy operation for the CopyTransformer: specifies which source fields to match and the target field where their values are copied. The onSet property controls how values are stored when the target field already exists.

Usageโ€‹

fieldMatcher:
ignoreCase: false
ignoreDiacritic: false
matchEmpty: false
method: BASIC
negateMatches: false
partial: false
pattern: string
replaceAll: false
trim: false
onSet: APPEND
toField: string

Propertiesโ€‹

PropertyTypeRequiredDefault
fieldMatcherTextMatcherNo-
onSetenumNo-
toFieldstringNo-

Property Detailsโ€‹

fieldMatcherโ€‹

Matches document fields based on specified patterns and methods

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.