Remove Text Filter Command

Syntax

The syntax for the remove text filter command is:

removeTextFilter(<filterQuery>)

There are no defaults for the removeTextFilter command.


Function

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

Example - Using the remove text filter command

This remove text filter command removes the text filter for zoology,
and it resets paging on the ContentType facet field and page number:

  s.pn=3&s.ff=ContentType,or,2,15&s.fq=zoology&s.cmd=removeTextFilter(zoology)

Try It