Media Server 25.1
Media Server Help

# AndNot Engine

An `AndNot` ESP task compares a track (`Input0`) with one or more other tracks (`InputN`). The output contains every record from the `Input0` track which is not preceded or followed, within a specified time interval, by an event in any other track.

When you set `LuaScript` or `LuaLine`, pairs of records (each consisting of a record in the `Input0` track and a record in another track that was found within the time interval) are passed into the function. An `Input0` record is included in the output only if your Lua function returns `FALSE` for every pair in which it is included.

Configuration Parameter | Description
--- | ---
Input0 | The first input track. Records from this track are added to the output if the relevant conditions are met.
InputN | Additional input tracks. Records in these tracks are never added to the output.
LuaLine | A Lua script that determines whether an `Input0` record is included in the output.
LuaScript | A Lua script that determines whether an `Input0` record is included in the output.
TimestampCondition | Specifies time limits for matching records (to exclude the records), based on the record timestamps.
Type | The type of ESP engine to use. Set this parameter to `AndNot`.

## Output Tracks

This engine produces a single output track, named `TaskName.Output`. The output track has the same format as the input track `Input0`.

Copyright 2024 Open Text
Version 25.1 | Last updated January 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 Media Server 25.1

Topic Title: AndNot Engine