NoMatches

Checks whether matches were found from a search query.

Generally used to display a message on the search results page.

Type and Usage

Output

  • Returns TRUE if no matches were found.

  • Returns FALSE if any matches were found.

Example

Displays text if no matches were found from a query:

<$if NoMatches$>
    <p><font face="arial" size="2">
    Found no matches out of <$TotalDocsProcessed$> documents searched matching the query.</p>
<$endif$>