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.