Query Manipulation Server 24.2

# 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 2024 Open Text
Version 24.2 | Last updated March 2024

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: IDOL Query Manipulation Server 24.2

Topic Title: Script