Open topic with navigation

# LuaScript

The name of a Lua script that defines a function with the name "`pred`". The function specifies conditions to judge a record or record pair against. The function returns a Boolean value; the engine's response to the function result depends on the engine.

Engine type | Engine response if the function returns true
--- | ---
And | The record pair is included in the engine output track.
AndNot | The record in the first track is discarded. (Records from the second track are never included in the output anyway.)
AndNotThen | The record in the first track is discarded. (Records from the second track are never included in the output anyway.)
AndThen | The record pair is included in the engine output track.
Deduplicate | The second record is discarded.
Filter | The record is included in the engine output track.

For more information about writing Lua scripts for ESP processing, refer to the Media Server Administration Guide.

Type: | String
Default: |
Required: | No
Configuration Section: | TaskName
Example: | `LuaScript=breakingnews.lua`
See Also: |

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm