LuaLine
A Lua script to run to determine whether a record or group of records is included in the output from the ESP task. For more information about writing Lua scripts for event stream processing, see Write a Lua Script for an ESP Engine.
This parameter allows you to specify a small amount of Lua code directly in the configuration file. If your script is relatively short, for example a single line, you can set this parameter instead of the LuaScript parameter, removing the need for a separate script file.
| Type: | String |
| Default: | |
| Required: | No |
| Configuration Section: | TaskName |
| Example: |
The following example could be used with a Filter ESP engine when the records contain OCR results: LuaLine=function pred(record) return record.OCRResult.region.left > 100 end |
| See Also: |