Creating custom search functions
A custom search function is a user-defined
function that can be included in a search expression. A function is
evaluated one time for each search result row.
For an example of a search function in a search expression, see Relational query syntax introduction.
Before you begin
About this task
You create a search function with a search function definition, which references the implemented search function handler. The name of the search function is specified in the search function handler in the following format: name-space::short-name. This same name must be used in the search expression to reference the search function. The name of a search function and the name of the search function definition for that function can be different.
You cannot use custom search functions in a stored search. You can use these functions in ad hoc or background searches in a SELECT list only.
Tip: To use predefined search functions,
install the Reporting Enablement Extensions add-on. For information
about these predefined functions, see Search Function Definitions.
Procedure
To create a search function definition: