Product
The <Product>
element contains field standardization rules to transform metadata generated by a specific product. It allows you to standardize a document correctly, based on its origin.
- The StandardizeMetadata processor in IDOL NiFi Ingest applies the rules in any
product
element with akey
orkeyRegex
that matches the value of the "Component names" property in the processor. The default value of this property uses expression language to read the value of the FlowFile attributeidol.doc.source
and apply the correct field standardization rules based on the origin of the document. This means that you can use the same processor and dictionary file to standardize documents that originated from any IDOL NiFi Ingest Connector. - CFS applies the rules in the
product
element with thekey
"ConnectorFrameWork". - A standalone IDOL Connector applies the rules in any
product
element with akey
orkeyRegex
that matches the value of theFieldNameDictionaryNode
configuration parameter.
Attribute | Description |
---|---|
key
|
The field standardization rules contained in the Product element are applied when the component name is an exact match to this attribute value. |
keyRegex
|
The field standardization rules contained in the Product element are applied when the component name matches the regular expression. |
The following example uses a single product key.
<FieldStandardization> <Product key="ConnectorFrameWork"> ... </Product> </FieldStandardization>
The following example uses a regular expression.
<FieldStandardization> <Product keyRegex=".*FileSystem"> ... </Product> </FieldStandardization>