Remove Text Query Command

Syntax

The syntax for the remove text query command is:

removeTextQuery(<textQuery>)

There are no defaults for the removeTextQuery command.


Function

The remove text query command removes the text query, and then it calls clearAllPaging().

Example - Using the remove text query command

This remove text query command removes the text query for titles with african mammals,
and it resets paging on the ContentType facet field and page number:

  s.pn=3&s.ff=ContentType,or,2,15&s.q=Title:(african+mammals)&s.cmd=removeTextQuery(Title\:\(african+mammals\))

Try It