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 |