View Component 25.2
View Component Help

# PostProcessingDefaultParameters

The name of a configuration section that defines default values for parameters for your Lua post-processing scripts.

This parameter specifies the name of a section in the View Component configuration file that contains default values for parameters to use in your post-processing scripts. You must create this section and add a list of parameter value pairs for the default values.

When View Component calls the post-processing script, if you do not add parameters programatically, View Component adds these default parameters to the Lua user parameters object used by the Lua post-processor. The Lua post-processor respects any session overrides, for example when you use a configuration fragment to update the default parameters.

For example:

    [Eduction]
    PostProcessingDefaultParameters=MyLuaParameters

    [MyLuaParameters]
    Greeting=Hello
    Price=15

This example means that, with no further parameters added programatically, the following Lua post-processing script prints both of these entries passed in `params`:

    function processmatch(edkmatch, params)
       for key, value in pairs(params) do
          print(string.format("%s -> %s", key, value))
       end
       return true
    end

NOTE: The default values that you set apply to all your configured post-processing scripts.

For more information about how to configure post-processing tasks, refer to the Named Entity Recognition User and Programming Guide.

Type: | String
Default: |
Required: | No
Configuration Section: | MyRedactionSettings
Example: | `[Eduction] PostProcessingDefaultParameters=MyLuaParameters [MyLuaParameters] Greeting=Hello Price=15`
See Also: | Script Entities ProcessEnMasse

Copyright 2025 Open Text
Version 25.2 | Last updated April 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 View Component 25.2

Topic Title: PostProcessingDefaultParameters