Using content search policies
You can define regular expressions to search for and create policies that use the regular expressions.
About this task
You can enrich metadata through content inspection of source data by using the built-in CONTENTSEARCH application. To use this function, you can define regular expressions to search for and create policies that use these regular expressions.
When the policy runs, the documents are retrieved from the source system by the CONTENTSEARCH application, converted to text format if necessary, and searched by using the defined regular expressions. The results of the search are returned to Data cataloging and the metadata of the files that are updated. To create a CONTENT SEARCH policy, see Adding policies.
When you create a CONTENT SEARCH policy, you can select:
- Any tag type (including
Open
,Restricted
, andCharacteristics
tags) for theCONTENTSEARCH
application. - Any regular expression.
- Either
"True/False"
or"Value matching expression"
."True/False"
sets the tag value to eitherTrue
orFalse
if a match is found or not found."Value matching expression"
sets the tag value to the extracted content match.
Remember:
- If you select a
Restricted
tag with a defined set of values and choose to extract the value from a document, the value that is extracted must match one of theRESTRICTED
values in the tag. - If the content extracted exceeds the minimum tag value length, the extracted content is truncated.