Class CopyTransformerConfig

All Implemented Interfaces:
Labelable

public class CopyTransformerConfig extends BaseDocHandlerConfig

Copies metadata fields.

Storing values in an existing field

If a target field with the same name already exists for a document, values will be added to the end of the existing value list. It is possible to change this default behavior by supplying a PropertySetter.

Can be used both as a pre-parse or post-parse handler.

Copies the value of a "creator" and "publisher" fields into an "author" field, adding to any existing values in the "author" field.

See Also: