Query Manipulation Server 25.3
Query Manipulation Server Help

# Script

The file name and path to a Lua script that you want to use to filter the suggestions returned by the TypeAhead action.

The Lua script that you create to filter results must contain a valid Lua function named `typeahead_filter` that accepts a string value and returns a Boolean value. QMS calls the Lua script once for each suggestion that the `TypeAhead` action returns. It passes the suggestion to the `typeahead_filter` function, and returns only suggestions for which the `typeahead_filter` function returns `True`.

For information about how to create a suitable Lua script, refer to the Query Manipulation Server Administration Guide.

Type: | String
Default: | None
Required: |
Configuration Section: | [TypeAhead]
Example: | `Script=filter_script.lua`
See Also: | TypeAhead

Copyright 2025 Open Text
Version 25.3 | Last updated July 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 Query Manipulation Server 25.3

Topic Title: Script