To run a Lua script on documents that are sent for ingestion, use an Ingest Action.
To run a Lua script using an Ingest Action
Find one of the following sections in the configuration file:
[TaskName]
section.[Ingestion]
section.Note: If you set the IngestActions
parameter in a [TaskName]
section, the connector does not run any IngestActions
set in the [Ingestion]
section for that task.
Use the IngestActions
parameter to specify the path to your Lua script. For example:
IngestActions=LUA:C:\Autonomy\myScript.lua
|