Clear All Facet Fields Command

Syntax

The syntax for the clear all facet fields command is:

clearAllFacetFields()

This command takes no arguments.


Function

The clear all facet fields command removes all facet fields from the request.

Example - Using the clear all facet fields command

This clear all facet fields command removes facet fields and leaves everything else in the query:

  s.pn=3&s.ps=10&s.q=bullfrog&s.ff=ContentType,or,2,15&s.ff=SubjectTerms,and&s.cmd=clearAllFacetFields()

Try It