The search operator enables Boolean search logic, such as AND, OR, NOT, and Lucene search expressions, such as * and ?.
For example, the following rule uses Boolean search logic to find a person's name in a news story:
WHEN 1 news n WITH story search "(Joe OR Chris) AND Mike" then response
The above rule evaluates true when a news story contains the name Joe and Mike or Chris and Mike. In the example, the use of the parentheses is required to enforce precedence.
For example, the following rule uses Lucene search expressions to find variations of the word "test":
WHEN 1 news n WITH story search "test*" then response
The rule evaluates true when a news story contains any variation of the word test, such as test, tests, tester, testing.
The search operator does not support the escape character '\".