Media Server 26.1
Media Server Help

# AndAny Engine

An `AndAny` ESP task compares a track (`Input0`) with one or more other tracks (`InputN`). The output contains every record from the `Input0` track which is preceded or followed, within a specified time interval, by at least one 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 specified time interval) are passed into the function. An `Input0` record is included in the output only if your Lua function returns `TRUE` for at least one 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, based on the record timestamps.
Type | The type of ESP engine to use. Set this parameter to `AndAny`.

## 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 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 Media Server 26.1

Topic Title: AndAny Engine