Clear All Facet Value Filters Command

Syntax

The syntax for the clear all facet value filters command is:

clearAllFacetValueFilters()

This command takes no arguments.


Function

The clear all facet value filters command removes all facet value filters from the request, and then it calls clearAllPaging().

Example - Using the clear all facet value filters command

This clear all facet value filters command removes facet value filters, resets paging, and leaves everything else in the query:

  s.pn=3&s.ps=10&s.q=surgery&s.fvf=ContentType,Book&s.fvf=SubjectTerms,north+america&s.cmd=clearAllFacetValueFilters()

Try It