Named Entity Recognition Server 26.1
Named Entity Recognition Server Reference

# PostProcessingErrorOnFailure

Set `PostProcessingErrorOnFailure` to `True` to return an error when a scripting error occurs in Lua post-processing.

By default, if an error occurs during post-processing, Named Entity Recognition Server continues processing matches and the API returns success, writing a message and stack trace to the registered logging callback if you have set one. To propagate script errors as an EDK error, set `PostProcessingErrorOnFailure` to `True`.

In the C API, with this setting, a call to `EdkGetNextMatch` returns the error code `EdkErrBadPostProcessScript`. Details of the script error are available in the last session error.

In other languages (.NET, Java, Python), a post-processing scripting error while iterating over matches raises an exception, with the `EdkErrBadPostProcessScript` error code. The exception message contains details of the Lua error.

You can override this setting in a per-session configuration.

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

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | Eduction
Example: | `PostProcessingErrorOnFailure=True`
See Also: | Script

Copyright 2014-2025 Open Text
Version 26.1 | Last updated January 2026

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 Named Entity Recognition Server 26.1

Topic Title: PostProcessingErrorOnFailure