The function nomatch() is used to specify that the argument can be not included in the match or highlighted. This function can only be used inside sequence search functions or with and operator.
Syntax
nomatch(argument)
Arguments
The function accepts single argument.
Returned Value
Documents matching the query.
Note
The function nomatch() can be used with optional arguments, in this case it should be nested in the optional() function. For example, phrase(of, optional(nomatch(the)), case(title)) matches "of company" in the phrase "in the company".
Examples
phrase(0, good, nomatch(lemma(adjective)), lemma(noun)) matches "best rates" in the phrase "best possible rates".