Connector Framework Server 25.1
Connector Framework Server Help

# Redact Documents

You can use the `Eduction` task to redact information in documents.

To enable redaction, set the configuration parameter `RedactedOutput=True`. If you want to specify the value or characters that replace the redacted text, use the configuration parameter `RedactionOutputString` or `RedactionReplacementCharacter`.

For example, the following configuration redacts addresses contained in a document's `DRECONTENT` or `ADDRESS` fields:

    [ImportTasks]
    Post0=Eduction:EductionSettings

    [EductionSettings]
    ResourceFiles=D:\Eduction\address_gb.ecr
    SearchFields=DRECONTENT,ADDRESS
    RedactedOutput=True

The fields specified by `SearchFields` are not modified. CFS places the redacted text in fields with a `_REDACTED` suffix. For example:

    #DREFIELD ADDRESS="Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ"
    #DREFIELD ADDRESS_REDACTED="[redacted]"

The `Eduction` task also adds the value, offset, and score for any matched entities to the document. For example:

    #DREFIELD /offset="298"
    #DREFIELD /score="1"
    #DREFIELD /value="Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ"

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Connector Framework Server 25.1

Topic Title: Redact Documents